A mutual exclusion class.
More...
#include <gothread.h>
|
void | lock () |
|
void | unlock () |
|
pthread_mutex_t * | getPthreadMutex () |
|
A mutual exclusion class.
- Author
- Christian Gosch
- Note
- Should work on both POSIX and win32. I recommend to always use POSIX where possible and to avoid non-POSIX thread implementations. However, If you feel like it you are most warmly welcome to implement a specialized Solaris threads version of goMutex, goThread and all related classes.
The documentation for this class was generated from the following file: