|
|
@@ -41,8 +41,6 @@ public: |
|
|
|
pthread_mutexattr_init(&attr); |
|
|
|
pthread_mutexattr_setprotocol(&attr, inheritPriority ? PTHREAD_PRIO_INHERIT : PTHREAD_PRIO_NONE); |
|
|
|
pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL); |
|
|
|
pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_ERRORCHECK); |
|
|
|
pthread_mutexattr_setrobust(&attr, PTHREAD_MUTEX_ROBUST); |
|
|
|
pthread_mutex_init(&fMutex, &attr); |
|
|
|
pthread_mutexattr_destroy(&attr); |
|
|
|
} |
|
|
|