Home
last modified time | relevance | path

Searched refs:sem_trywait (Results 1 – 25 of 47) sorted by relevance

12

/third_party/musl/libc-test/src/regression/
Dpthread_cancel-sem_wait.c69 sem_trywait(&sem2); in main()
89 sem_trywait(&sem2); in main()
99 sem_trywait(&sem2); in main()
/third_party/musl/porting/linux/user/src/thread/
Dsem_timedwait.c13 while (sem_trywait(sem)) { in __sem_timedwait()
31 if (!sem_trywait(sem)) return 0; in sem_timedwait()
/third_party/musl/src/thread/
Dsem_timedwait.c14 while (sem_trywait(sem)) { in __sem_timedwait()
33 if (!sem_trywait(sem)) return 0; in sem_timedwait()
Dsem_trywait.c4 int sem_trywait(sem_t *sem) in sem_trywait() function
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/
D14-1.c123 ret = sem_trywait(sem_linked); in main()
136 ret = sem_trywait(sem_unlinked); in main()
/third_party/python/Modules/_multiprocessing/
Dsemaphore.c246 if (sem_trywait(sem) == 0) in sem_timedwait_save()
340 res = sem_trywait(self->handle); in _multiprocessing_SemLock_acquire_impl()
405 if (sem_trywait(self->handle) < 0) { in _multiprocessing_SemLock_release_impl()
640 if (sem_trywait(self->handle) < 0) { in _multiprocessing_SemLock__is_zero_impl()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_init/
D2-1.c36 if (sem_trywait(&mysemp) == -1) { in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_wait/
D12-1.c41 if (sem_trywait(mysemp) == -1) { in main()
D5-1.c41 if ((sem_trywait(mysemp) == -1) && (errno == EAGAIN)) { in main()
D11-1.c42 if (sem_trywait(mysemp) == -1) { in main()
/third_party/musl/libc-test/src/api/
Dsemaphore.c11 {int(*p)(sem_t*) = sem_trywait;} in f()
/third_party/musl/porting/liteos_m/user/include/
Dsemaphore.h28 int sem_trywait(sem_t *);
/third_party/musl/porting/liteos_m/kernel/include/
Dsemaphore.h28 int sem_trywait(sem_t *);
/third_party/musl/include/
Dsemaphore.h28 int sem_trywait(sem_t *);
/third_party/musl/porting/uniproton/kernel/include/
Dsemaphore.h28 int sem_trywait(sem_t *);
/third_party/musl/porting/liteos_a_newlib/kernel/include/
Dsemaphore.h27 int sem_trywait(sem_t *);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
Dsemaphore.h28 int sem_trywait(sem_t *);
/third_party/musl/porting/liteos_a/kernel/include/
Dsemaphore.h30 int sem_trywait(sem_t *);
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_getvalue/
D2-1.c43 if (sem_trywait(mysemp) == -1) { in main()
D5-1.c48 if (sem_trywait(mysemp) == -1) { in main()
/third_party/libuv/src/unix/
Dos390-syscalls.h71 int sem_trywait(UV_PLATFORM_SEM_T* semid);
/third_party/node/deps/uv/src/unix/
Dos390-syscalls.h71 int sem_trywait(UV_PLATFORM_SEM_T* semid);
/third_party/vk-gl-cts/framework/delibs/dethread/unix/
DdeSemaphoreUnix.c81 return (sem_trywait(sem) == 0); in deSemaphore_tryDecrement()
DdeNamedSemaphoreUnix.c105 return (sem_trywait(sem) == 0); in deSemaphore_tryDecrement()
/third_party/musl/libc-test/src/functional/
Dsem_open.c45 TEST(sem_trywait(sem) == -1 && errno == EAGAIN, in main()

12