comparison src/thread/riscos/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 99210400e8b9
comparison
equal deleted inserted replaced
2734:dd25eabe441c 2735:204be4fc2726
175 retval = SDL_SemTryWait(sem); 175 retval = SDL_SemTryWait(sem);
176 if (retval == 0) { 176 if (retval == 0) {
177 break; 177 break;
178 } 178 }
179 SDL_Delay(1); 179 SDL_Delay(1);
180 } 180 } while (SDL_GetTicks() < timeout);
181 while (SDL_GetTicks() < timeout);
182 181
183 return retval; 182 return retval;
184 } 183 }
185 184
186 Uint32 185 Uint32