This commit is contained in:
mfeemster
2014-12-14 20:25:46 -08:00
parent a004f71888
commit 9502ae57ab
13 changed files with 57 additions and 36 deletions

View File

@ -193,6 +193,8 @@ private:
CriticalSection()
{
pthread_mutexattr_t attr;
pthread_mutexattr_init(&attr);
pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL);
pthread_mutex_init(&m_CriticalSection, &attr);
pthread_mutexattr_destroy(&attr);