comparison src/thread/pthread/SDL_syssem.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 c121d94672cb
children f55c87ae336b
comparison
equal deleted inserted replaced
2734:dd25eabe441c 2735:204be4fc2726
123 retval = SDL_SemTryWait(sem); 123 retval = SDL_SemTryWait(sem);
124 if (retval == 0) { 124 if (retval == 0) {
125 break; 125 break;
126 } 126 }
127 SDL_Delay(1); 127 SDL_Delay(1);
128 } 128 } while (SDL_GetTicks() < timeout);
129 while (SDL_GetTicks() < timeout);
130 129
131 return retval; 130 return retval;
132 } 131 }
133 132
134 Uint32 133 Uint32