Commit 97e397ef authored by Ian Craggs's avatar Ian Craggs

Didn't mean to change the definition of createSem for Windows

parent cb1b5f2a
......@@ -197,13 +197,14 @@ sem_type Thread_create_sem(void)
FALSE, /* initial state is nonsignaled */
NULL /* object name */
);
#if 0
sem = CreateSemaphore(
NULL, /* default security attributes */
0, /* initial count - non signaled */
1, /* maximum count */
NULL /* unnamed semaphore */
);
#endif
#elif defined(OSX)
sem = dispatch_semaphore_create(0L);
rc = (sem == NULL) ? -1 : 0;
......
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