diff options
author | Kean Johnson <kean@armory.com> | 2005-11-08 06:33:25 +0000 |
---|---|---|
committer | Kean Johnson <kean@armory.com> | 2005-11-08 06:33:25 +0000 |
commit | 448763bde4a31cb012ad17cd6c5159411102432b (patch) | |
tree | 8c76f983df87ad2f661c10143829095f25c101e5 /Xthreads.h | |
parent | 59a5a5ebb6781d417d7a4d5905999da5fc76a083 (diff) |
See ChangeLog entry 2005-11-07 for details.
Diffstat (limited to 'Xthreads.h')
-rw-r--r-- | Xthreads.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -70,7 +70,12 @@ typedef thread_t xthread_t; typedef thread_key_t xthread_key_t; typedef cond_t xcondition_rec; typedef mutex_t xmutex_rec; +#if defined(__UNIXWARE__) +extern xthread_t (*_x11_thr_self)(); +#define xthread_self (_x11_thr_self) +#else #define xthread_self thr_self +#endif #define xthread_fork(func,closure) thr_create(NULL,0,func,closure,THR_NEW_LWP|THR_DETACHED,NULL) #define xthread_yield() thr_yield() #define xthread_exit(v) thr_exit(v) |