comparison src/events/SDL_events.c @ 2735:204be4fc2726

Final merge of Google Summer of Code 2008 work... Port SDL 1.3 to the Nintendo DS by Darren Alton, mentored by Sam Lantinga
author Sam Lantinga <slouken@libsdl.org>
date Wed, 27 Aug 2008 15:10:03 +0000
parents 047245361002
children 99210400e8b9
comparison
equal deleted inserted replaced
2734:dd25eabe441c 2735:204be4fc2726
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);