#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 |
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.