Mercurial > sdl-ios-xcode
diff src/thread/irix/SDL_syssem.c @ 2698:e1da92da346c gsoc2008_nds
Clean up.
author | Darren Alton <dalton@stevens.edu> |
---|---|
date | Wed, 27 Aug 2008 04:23:38 +0000 |
parents | e27bdcc80744 |
children |
line wrap: on
line diff
--- a/src/thread/irix/SDL_syssem.c Thu Aug 21 12:38:21 2008 +0000 +++ b/src/thread/irix/SDL_syssem.c Wed Aug 27 04:23:38 2008 +0000 @@ -55,9 +55,11 @@ static struct sembuf op_trywait[2] = { {0, -1, (IPC_NOWAIT | SEM_UNDO)} /* Decrement semaphore, no block */ }; + static struct sembuf op_wait[2] = { {0, -1, SEM_UNDO} /* Decrement semaphore */ }; + static struct sembuf op_post[1] = { {0, 1, (IPC_NOWAIT | SEM_UNDO)} /* Increment semaphore */ };