src/misc/mutex.h File Reference

Mutex lock MACROs. More...

#include <pthread.h>

Go to the source code of this file.

Defines

#define TXC_MUTEX_INIT   pthread_mutex_init
#define TXC_MUTEX_LOCK   pthread_mutex_lock
#define TXC_MUTEX_UNLOCK   pthread_mutex_unlock
#define TXC_MUTEX_TRYLOCK   pthread_mutex_trylock

Typedefs

typedef pthread_mutex_t txc_mutex_t


Detailed Description

Mutex lock MACROs.

The library should use these macros whenever it needs to use mutexes. This allows us to use other mutex implementations in the future if we find it useful.

Definition in file mutex.h.


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