Home
last modified time | relevance | path

Searched refs:__sem (Results 1 – 2 of 2) sorted by relevance

/bionic/libc/include/
Dsemaphore.h48 int sem_clockwait(sem_t* __sem, clockid_t __clock, const struct timespec* __ts) __INTRODUCED_IN(30);
49 int sem_destroy(sem_t* __sem);
50 int sem_getvalue(sem_t* __sem, int* __value);
51 int sem_init(sem_t* __sem, int __shared, unsigned int __value);
52 int sem_post(sem_t* __sem);
53 int sem_timedwait(sem_t* __sem, const struct timespec* __ts);
62 int sem_timedwait_monotonic_np(sem_t* __sem, const struct timespec* __ts) __INTRODUCED_IN(28);
63 int sem_trywait(sem_t* __sem);
64 int sem_wait(sem_t* __sem);
68 int sem_close(sem_t* __sem);
/bionic/tests/
Dsemaphore_test.cpp105 int (*wait_function)(sem_t* __sem, const timespec* __ts)) { in sem_timedwait_helper() argument
150 sem_timedwait_helper(CLOCK_MONOTONIC, [](sem_t* __sem, const timespec* __ts) { in TEST() argument
151 return sem_clockwait(__sem, CLOCK_MONOTONIC, __ts); in TEST()
153 sem_timedwait_helper(CLOCK_REALTIME, [](sem_t* __sem, const timespec* __ts) { in TEST() argument
154 return sem_clockwait(__sem, CLOCK_REALTIME, __ts); in TEST()