/bionic/tests/headers/posix/ |
semaphore_h.c | 44 FUNCTION(sem_timedwait, int (*f)(sem_t*, const struct timespec*));
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/ |
6-1.c | 26 #define FUNCTION "sem_timedwait" 42 sts = sem_timedwait(&mysemp, &ts);
|
6-2.c | 26 #define FUNCTION "sem_timedwait" 44 sts = sem_timedwait(&mysemp, &ts);
|
1-1.c | 10 * sem_timedwait shall lock the unlocked semaphore and decrement the 25 #define FUNCTION "sem_timedwait" 43 sts = sem_timedwait(&mysemp, &ts); 45 perror(ERROR_PREFIX "sem_timedwait");
|
2-1.c | 9 /* sem_timedwait will return successfully when sem_post 26 #define FUNCTION "sem_timedwait" 47 if (sem_timedwait(&mysemp, &ts) == -1) {
|
2-2.c | 10 * This test case will verify that sem_timedwait will wait one second to 28 #define FUNCTION "sem_timedwait" 46 sts = sem_timedwait(&mysemp, &ts);
|
3-1.c | 11 * sem_timedwait call will immediately lock again. 29 #define FUNCTION "sem_timedwait" 48 while (sem_timedwait(&mysemp, &ts) == -1) {
|
4-1.c | 9 /* sem_timedwait shall return zero if the calling process successfully 25 #define FUNCTION "sem_timedwait" 43 sts = sem_timedwait(&mysemp, &ts); 45 perror(ERROR_PREFIX "sem_timedwait");
|
7-1.c | 11 * sem_timedwait call will immediately lock again. 30 #define FUNCTION "sem_timedwait" 47 while (sem_timedwait(&mysemp, &ts) == -1) {
|
10-1.c | 26 #define FUNCTION "sem_timedwait" 58 rc = sem_timedwait(&mysemp, &ts); 60 perror(ERROR_PREFIX "sem_timedwait");
|
11-1.c | 29 #define FUNCTION "sem_timedwait" 52 sts[i] = sem_timedwait(&mysemp[i], &ts[i]); 54 perror(ERROR_PREFIX "sem_timedwait");
|
9-1.c | 9 /* This tests case will send a SIGABRT to sem_timedwait, and should 26 #define FUNCTION "sem_timedwait" 71 sem_timedwait(&mysemp, &ts);
|
/bionic/libc/include/ |
semaphore.h | 51 int sem_timedwait(sem_t* __sem, const struct timespec* __ts); 53 * POSIX only supports using sem_timedwait() with CLOCK_REALTIME, however that is typically
|
/cts/suite/audio_quality/lib/src/ |
Semaphore.cpp | 69 if (sem_timedwait(&mSem, &timeNew) == 0) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/ |
1-1.c | 104 ret = sem_timedwait(sem, &tsfin);
|
/bionic/tests/ |
semaphore_test.cpp | 136 TEST(semaphore, sem_timedwait) { 137 sem_timedwait_helper(CLOCK_REALTIME, sem_timedwait); 152 ASSERT_EXIT(sem_timedwait(&s, nullptr), testing::KilledBySignal(SIGSEGV), "");
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_detach/ |
2-2.c | 222 ret = sem_timedwait(&(scenarii[sc].sem), &ts);
|
/bionic/libc/bionic/ |
semaphore.cpp | 270 int sem_timedwait(sem_t* sem, const timespec* abs_timeout) { function
|
/external/v8/src/base/platform/ |
semaphore.cc | 116 int result = sem_timedwait(&native_handle_, &ts); 120 // sem_timedwait in glibc prior to 2.3.4 returns the errno instead of -1.
|
/external/python/cpython2/Modules/_multiprocessing/ |
semaphore.c | 212 # define sem_timedwait(sem,deadline) sem_timedwait_save(sem,deadline,_save) macro 321 res = sem_timedwait(self->handle, &deadline);
|
/external/python/cpython3/Modules/_multiprocessing/ |
semaphore.c | 205 # define sem_timedwait(sem,deadline) sem_timedwait_save(sem,deadline,_save) macro 322 res = sem_timedwait(self->handle, &deadline);
|
/external/python/cpython3/Python/ |
thread_pthread.h | 366 status = fix_status(sem_timedwait(thelock, &ts)); 408 CHECK_STATUS("sem_timedwait");
|
/external/python/cpython2/ |
configure | [all...] |
/external/python/cpython3/ |
configure | [all...] |