os0sync.c:

  Initing a mutex with MY_MUTEX_INIT_FAST may relieve thread thrashing on Linux
parent 128e872f
......@@ -435,7 +435,7 @@ os_fast_mutex_init(
InitializeCriticalSection((LPCRITICAL_SECTION) fast_mutex);
#else
pthread_mutex_init(fast_mutex, NULL);
pthread_mutex_init(fast_mutex, MY_MUTEX_INIT_FAST);
#endif
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment