Commits

metagriffin  committed 2781d41

corrected lock protection of condition signaling

  • Participants
  • Parent commits c187e9c

Comments (0)

Files changed (1)

File src/fastevents.c

           break;
         }
     }
-    SDL_UnlockMutex (eventLock);
     if ( val > 0 )
         SDL_CondSignal (eventWait);
+    SDL_UnlockMutex (eventLock);
 
     return val;
 }