#include "MercuryString.h"
#include <pthread.h>
Go to the source code of this file.
Classes | |
class | MercuryThread |
Thread object. More... | |
class | MercuryMutex |
Mutual exclusion object. More... | |
class | MLockPtr< T > |
This can be used to have the compile help us find code that is not threadsafe. More... | |
Defines | |
#define | COND_MUTEX(x) MercuryMutex x |
#define | SETUP_MUTEX(x) |
#define | LOCK_MUTEX(x) x.Wait() |
#define | UNLOCK_MUTEX(x) x.UnLock() |
#define COND_MUTEX | ( | x | ) | MercuryMutex x |
Definition at line 115 of file MercuryThreads.h.
#define LOCK_MUTEX | ( | x | ) | x.Wait() |
Definition at line 122 of file MercuryThreads.h.
#define SETUP_MUTEX | ( | x | ) |
#define UNLOCK_MUTEX | ( | x | ) | x.UnLock() |
Definition at line 125 of file MercuryThreads.h.