src/thread/irix/SDL_syssem.c
branchgsoc2008_nds
changeset 2669 e27bdcc80744
parent 1895 c121d94672cb
child 2698 e1da92da346c
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