Lines Matching refs:sem
30 sem_t *sem; in namedsem_sem_close() local
33 PyArg_ParseTuple(args, "O&", &parse_sem_t, &sem); in namedsem_sem_close()
34 result = sem_close(sem); in namedsem_sem_close()
54 sem_t *sem; in namedsem_sem_wait() local
57 PyArg_ParseTuple(args, "O&", &parse_sem_t, &sem); in namedsem_sem_wait()
58 result = sem_wait(sem); in namedsem_sem_wait()
66 sem_t *sem; in namedsem_sem_post() local
69 PyArg_ParseTuple(args, "O&", &parse_sem_t, &sem); in namedsem_sem_post()
70 result = sem_post(sem); in namedsem_sem_post()
79 sem_t *sem; in namedsem_sem_getvalue() local
82 PyArg_ParseTuple(args, "O&", &parse_sem_t, &sem); in namedsem_sem_getvalue()
83 sem_getvalue(sem, &sval); in namedsem_sem_getvalue()