150
150
* immediately get destroyed by another thread which
151
151
* is waiting for this semaphore.
154
154
#if defined(_WIN32_WCE) && (_WIN32_WCE < 300)
155
155
if ( ReleaseSemaphoreCE(sem->id, 1, NULL) == FALSE ) {
157
157
if ( ReleaseSemaphore(sem->id, 1, NULL) == FALSE ) {
160
160
SDL_SetError("ReleaseSemaphore() failed");