Mercurial > sdl-ios-xcode
comparison src/events/SDL_events.c @ 2698:e1da92da346c gsoc2008_nds
Clean up.
author | Darren Alton <dalton@stevens.edu> |
---|---|
date | Wed, 27 Aug 2008 04:23:38 +0000 |
parents | 3895761db26a |
children |
comparison
equal
deleted
inserted
replaced
2697:c9121b04cffa | 2698:e1da92da346c |
---|---|
71 while (!SDL_EventLock.safe) { | 71 while (!SDL_EventLock.safe) { |
72 SDL_Delay(1); | 72 SDL_Delay(1); |
73 } | 73 } |
74 } | 74 } |
75 } | 75 } |
76 | |
76 void | 77 void |
77 SDL_Unlock_EventThread(void) | 78 SDL_Unlock_EventThread(void) |
78 { | 79 { |
79 if (SDL_EventThread && (SDL_ThreadID() != event_thread)) { | 80 if (SDL_EventThread && (SDL_ThreadID() != event_thread)) { |
80 SDL_mutexV(SDL_EventLock.lock); | 81 SDL_mutexV(SDL_EventLock.lock); |