Merge pull request #381 from mstorsjo/clarify-threading-comment

Clarify a comment in the threading code
This commit is contained in:
volvet 2014-03-03 08:52:10 +08:00
commit 8c7e0a6ac6

View File

@ -252,7 +252,7 @@ WELS_THREAD_ERROR_CODE WelsMutexDestroy (WELS_MUTEX* mutex) {
return pthread_mutex_destroy (mutex);
}
// unnamed semaphores can not work well for posix threading models under not root users
// unnamed semaphores aren't supported on OS X
WELS_THREAD_ERROR_CODE WelsEventInit (WELS_EVENT* event) {
return sem_init (event, 0, 0);