diff options
author | root <root> | 2008-05-13 19:34:11 +0000 |
---|---|---|
committer | root <root> | 2008-05-13 19:34:11 +0000 |
commit | ab7cd9773b5b32c2fe6cfece5aa4bdceff3bf6d7 (patch) | |
tree | c510f7446ae3a9f576ad857816b22941fe6d83d6 /xthread.h | |
parent | 760ff454608d7b39f8667f03ad9c89e729a06815 (diff) |
*** empty log message ***
Diffstat (limited to 'xthread.h')
-rw-r--r-- | xthread.h | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -37,13 +37,11 @@ typedef int ssize_t; typedef pthread_mutex_t mutex_t; #define X_MUTEX_INIT PTHREAD_MUTEX_INITIALIZER -#define X_MUTEX_CHECK(mutex) #define X_LOCK(mutex) pthread_mutex_lock (&(mutex)) #define X_UNLOCK(mutex) pthread_mutex_unlock (&(mutex)) typedef pthread_cond_t cond_t; #define X_COND_INIT PTHREAD_COND_INITIALIZER -#define X_COND_CHECK(cond) #define X_COND_SIGNAL(cond) pthread_cond_signal (&(cond)) #define X_COND_WAIT(cond,mutex) pthread_cond_wait (&(cond), &(mutex)) #define X_COND_TIMEDWAIT(cond,mutex,to) pthread_cond_timedwait (&(cond), &(mutex), &(to)) |