10 #define SIPC_MAX_SEMAPHORES 256 12 #define USE_SEM_INIT 0 15 #define PORTABLE_SEMAPHORES 1 18 #if PORTABLE_SEMAPHORES int status int void size_t count
int sipc_semaphore_release(int id)
int sipc_semaphore_acquire(int id)
int sipc_semaphore_exists(int id)
int sipc_semaphore_init(int id, int count)
int sipc_semaphore_try_acquire(int id)
int sipc_semaphore_get_value(int id)
const Variable & v
< [in] a sqrfree bivariate poly
int sem_acquired[SIPC_MAX_SEMAPHORES]
sipc_sem_t * semaphore[SIPC_MAX_SEMAPHORES]
#define SIPC_MAX_SEMAPHORES
int simpleipc_cmd(char *cmd, int id, int v)