Mercurial > sdl-ios-xcode
comparison src/thread/riscos/SDL_syssem.c @ 2669:e27bdcc80744 gsoc2008_nds
First commit. Added header configs for DS as well as a Makefile. Initial work on framebuffer video driver, currently not functioning as desired.
author | Darren Alton <dalton@stevens.edu> |
---|---|
date | Tue, 10 Jun 2008 06:45:39 +0000 |
parents | c121d94672cb |
children | 99210400e8b9 |
comparison
equal
deleted
inserted
replaced
2668:bb3241de289e | 2669:e27bdcc80744 |
---|---|
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 |