-
- Downloads
pthread: auto-construct mutexes from PTHREAD_MUTEX_INITIALIZER
Fox simplicity, the first mutex implementation will not be compatible with PTHREAD_MUTEX_INITIALIZER, so wrap the mutex class with a structure that also contains an intitialization flag, and initialize it on demand.
Loading
Please register or sign in to comment