Searched refs:sem_t (Results 1 - 4 of 4) sorted by last modified time

/bionic/benchmarks/
H A Dsemaphore_benchmark.cpp26 sem_t semaphore;
37 sem_t semaphore;
73 sem_t* semaphore = reinterpret_cast<sem_t*>(arg);
113 sem_t semaphore;
/bionic/libc/bionic/
H A Dsemaphore.cpp89 static inline atomic_uint* SEM_TO_ATOMIC_POINTER(sem_t* sem) {
104 int sem_init(sem_t* sem, int pshared, unsigned int value) {
121 int sem_destroy(sem_t*) {
125 sem_t* sem_open(const char*, int, ...) {
130 int sem_close(sem_t*) {
215 int sem_wait(sem_t* sem) {
234 int sem_timedwait(sem_t* sem, const timespec* abs_timeout) {
270 int sem_post(sem_t* sem) {
287 int sem_trywait(sem_t* sem) {
297 int sem_getvalue(sem_t* se
[all...]
/bionic/libc/include/
H A Dsemaphore.h43 } sem_t; typedef in typeref:struct:__anon66
47 int sem_destroy(sem_t*);
48 int sem_getvalue(sem_t*, int*);
49 int sem_init(sem_t*, int, unsigned int);
50 int sem_post(sem_t*);
51 int sem_timedwait(sem_t*, const struct timespec*);
52 int sem_trywait(sem_t*);
53 int sem_wait(sem_t*);
56 sem_t* sem_open(const char*, int, ...);
57 int sem_close(sem_t*);
[all...]
/bionic/tests/
H A Dsemaphore_test.cpp30 sem_t s;
56 sem_t s;
67 static void SemWaitThreadTestFn(sem_t& sem) {
72 SemWaitThreadTestFn(*reinterpret_cast<sem_t*>(arg));
77 sem_t s;
105 sem_t s;
136 sem_t s;
143 sem_t s;
169 sem_t* sem = reinterpret_cast<sem_t*>(ar
[all...]

Completed in 140 milliseconds