File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ ThreadDispatcher::ThreadDispatcher()
55
55
pthread_mutexattr_destroy (&recursiveAttr);
56
56
57
57
#ifdef USE_MAC_TIME
58
- pthread_cond_init (&kernelModeCondVar, nullptr );
58
+ pthread_cond_init (&kernelModeCondVar, nullptr );
59
59
#else
60
60
// initialize kernel mode cond var
61
61
// make sure that the condition variable is using the monotonic clock
@@ -64,9 +64,9 @@ ThreadDispatcher::ThreadDispatcher()
64
64
pthread_condattr_setclock (&monotonicClockAttr, CLOCK_MONOTONIC); // sadly CLOCK_PROCESS_CPUTIME_ID is not supported here
65
65
66
66
pthread_cond_init (&kernelModeCondVar, &monotonicClockAttr);
67
- #endif
68
67
69
68
pthread_condattr_destroy (&monotonicClockAttr);
69
+ #endif
70
70
}
71
71
72
72
void ThreadDispatcher::lockMutex ()
You can’t perform that action at this time.
0 commit comments