comparison src/thread/pthread/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 f55c87ae336b
comparison
equal deleted inserted replaced
2668:bb3241de289e 2669:e27bdcc80744
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