Mercurial > sdl-ios-xcode
comparison src/thread/irix/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 | e1da92da346c |
comparison
equal
deleted
inserted
replaced
2668:bb3241de289e | 2669:e27bdcc80744 |
---|---|
168 retval = SDL_SemTryWait(sem); | 168 retval = SDL_SemTryWait(sem); |
169 if (retval == 0) { | 169 if (retval == 0) { |
170 break; | 170 break; |
171 } | 171 } |
172 SDL_Delay(1); | 172 SDL_Delay(1); |
173 } | 173 } while (SDL_GetTicks() < timeout); |
174 while (SDL_GetTicks() < timeout); | |
175 | 174 |
176 return retval; | 175 return retval; |
177 } | 176 } |
178 | 177 |
179 Uint32 | 178 Uint32 |