Home
last modified time | relevance | path

Searched defs:sem (Results 1 – 2 of 2) sorted by relevance

/bionic/libc/bionic/
Dsemaphore.cpp89 static inline atomic_uint* SEM_TO_ATOMIC_POINTER(sem_t* sem) { in SEM_TO_ATOMIC_POINTER()
104 int sem_init(sem_t* sem, int pshared, unsigned int value) { in sem_init()
215 int sem_wait(sem_t* sem) { in sem_wait()
234 int sem_timedwait(sem_t* sem, const timespec* abs_timeout) { in sem_timedwait()
270 int sem_post(sem_t* sem) { in sem_post()
287 int sem_trywait(sem_t* sem) { in sem_trywait()
297 int sem_getvalue(sem_t* sem, int* sval) { in sem_getvalue()
/bionic/tests/
Dsemaphore_test.cpp67 static void SemWaitThreadTestFn(sem_t& sem) { in SemWaitThreadTestFn()
169 sem_t* sem = reinterpret_cast<sem_t*>(arg); in SemWaitEINTRThreadFn() local