src/misc/mutex.h

Go to the documentation of this file.
00001 
00011 #ifndef _TXC_MUTEX_H
00012 #define _TXC_MUTEX_H
00013 
00014 #include <pthread.h>
00015 
00016 typedef pthread_mutex_t txc_mutex_t;
00017 
00018 #define TXC_MUTEX_INIT     pthread_mutex_init
00019 #define TXC_MUTEX_LOCK     pthread_mutex_lock
00020 #define TXC_MUTEX_UNLOCK   pthread_mutex_unlock
00021 #define TXC_MUTEX_TRYLOCK  pthread_mutex_trylock
00022 
00023 #endif

Generated on Wed Dec 9 20:32:39 2009 for xCalls by  doxygen 1.4.7