comparison 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
comparison
equal deleted inserted replaced
2697:c9121b04cffa 2698:e1da92da346c
53 */ 53 */
54 54
55 static struct sembuf op_trywait[2] = { 55 static struct sembuf op_trywait[2] = {
56 {0, -1, (IPC_NOWAIT | SEM_UNDO)} /* Decrement semaphore, no block */ 56 {0, -1, (IPC_NOWAIT | SEM_UNDO)} /* Decrement semaphore, no block */
57 }; 57 };
58
58 static struct sembuf op_wait[2] = { 59 static struct sembuf op_wait[2] = {
59 {0, -1, SEM_UNDO} /* Decrement semaphore */ 60 {0, -1, SEM_UNDO} /* Decrement semaphore */
60 }; 61 };
62
61 static struct sembuf op_post[1] = { 63 static struct sembuf op_post[1] = {
62 {0, 1, (IPC_NOWAIT | SEM_UNDO)} /* Increment semaphore */ 64 {0, 1, (IPC_NOWAIT | SEM_UNDO)} /* Increment semaphore */
63 }; 65 };
64 66
65 /* Create a blockable semaphore */ 67 /* Create a blockable semaphore */