summaryrefslogtreecommitdiff
path: root/xthread.h
diff options
context:
space:
mode:
authorroot <root>2008-05-13 19:34:11 +0000
committerroot <root>2008-05-13 19:34:11 +0000
commitab7cd9773b5b32c2fe6cfece5aa4bdceff3bf6d7 (patch)
treec510f7446ae3a9f576ad857816b22941fe6d83d6 /xthread.h
parent760ff454608d7b39f8667f03ad9c89e729a06815 (diff)
*** empty log message ***
Diffstat (limited to 'xthread.h')
-rw-r--r--xthread.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/xthread.h b/xthread.h
index 6b6ccbb..e0de1ee 100644
--- a/xthread.h
+++ b/xthread.h
@@ -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))