/third_party/ffmpeg/libavutil/ |
H A D | thread.h | 122 int ret = pthread_cond_timedwait(cond, mutex, abstime); in strict_pthread_cond_timedwait() 124 ASSERT_PTHREAD_ABORT(pthread_cond_timedwait, ret); in strict_pthread_cond_timedwait() 143 #define pthread_cond_timedwait strict_pthread_cond_timedwait macro
|
/third_party/ltp/testcases/realtime/stress/pi-tests/ |
H A D | lookup_pi_state.c | 146 pthread_cond_timedwait(&CM, &MM, &ts_abs_timeout); in master_thread() 164 pthread_cond_timedwait(&CT, &MT, &ts_abs_timeout); in master_thread()
|
/third_party/musl/src/thread/ |
H A D | pthread_cond_wait.c | 5 return pthread_cond_timedwait(c, m, 0); in pthread_cond_wait()
|
/third_party/musl/compat/time32/ |
H A D | pthread_cond_timedwait_time32.c | 7 return pthread_cond_timedwait(c, m, !ts32 ? 0 : (&(struct timespec){ in __pthread_cond_timedwait_time32()
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | pthread.h | 124 int pthread_cond_timedwait(pthread_cond_t *__restrict, pthread_mutex_t *__restrict, const struct timespec *__restrict); 237 __REDIR(pthread_cond_timedwait, __pthread_cond_timedwait_time64);
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
H A D | pthread.h | 124 int pthread_cond_timedwait(pthread_cond_t *__restrict, pthread_mutex_t *__restrict, const struct timespec *__restrict); 237 __REDIR(pthread_cond_timedwait, __pthread_cond_timedwait_time64);
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | pthread.h | 124 int pthread_cond_timedwait(pthread_cond_t *__restrict, pthread_mutex_t *__restrict, const struct timespec *__restrict); 237 __REDIR(pthread_cond_timedwait, __pthread_cond_timedwait_time64);
|
/third_party/musl/porting/liteos_m/user/include/ |
H A D | pthread.h | 117 int pthread_cond_timedwait(pthread_cond_t *__restrict, pthread_mutex_t *__restrict, const struct timespec *__restrict); 229 __REDIR(pthread_cond_timedwait, __pthread_cond_timedwait_time64);
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/ |
H A D | 2-5.c | 100 ret = pthread_cond_timedwait(&(data.cnd), &(data.mtx1), in threaded() 135 ret = pthread_cond_timedwait(&(data.cnd), &(data.mtx2), in threaded()
|
H A D | 4-1.c | 8 * Test that pthread_cond_timedwait() 52 rc = pthread_cond_timedwait(&td.cond, &td.mutex, &timeout); in t1_func() 59 "pthread_cond_timedwait return %d instead of ETIMEDOUT\n", in t1_func()
|
H A D | 2-2.c | 8 * Test that pthread_cond_timedwait() 53 /* Set time for pthread_cond_timedwait to wait */ in t1_func() 65 rc = pthread_cond_timedwait(&td.cond, &td.mutex, &timeout); in t1_func() 71 "Test FAILED: pthread_cond_timedwait return %d instead of ETIMEDOUT\n", in t1_func() 111 * pthread_cond_timedwait functioned incorrectly and waited too long. */ in main()
|
H A D | 2-3.c | 8 * Test that pthread_cond_timedwait() 56 rc = pthread_cond_timedwait(&td.cond, &td.mutex, &timeout); in t1_func() 62 "pthread_cond_timedwait return %d instead of ETIMEDOUT\n", in t1_func() 89 * pthread_cond_timedwait is failing to function correctly. */ in main() 98 /* Make sure pthread_cond_timedwait released and re-acquired the mutex in main() 103 "Test FAILED: Did not re-acquire mutex after timedout out call to pthread_cond_timedwait\n"); in main()
|
H A D | 1-1.c | 8 * Test that pthread_cond_timedwait() 56 rc = pthread_cond_timedwait(&td.cond, &td.mutex, &timeout); in t1_func() 63 fprintf(stderr, "pthread_cond_timedwait return %d\n", in t1_func()
|
H A D | 3-1.c | 8 * Test that pthread_cond_timedwait() 55 rc = pthread_cond_timedwait(&td.cond, &td.mutex, &timeout); in t1_func() 62 fprintf(stderr, "pthread_cond_timedwait return %d\n", in t1_func()
|
/third_party/musl/libc-test/src/regression/ |
H A D | pthread_cond_wait-cancel_ignored.c | 46 while (waiting && !pthread_cond_timedwait(&cv, &mx, &ts)); in main()
|
H A D | pthread_condattr_setclock.c | 44 r = pthread_cond_timedwait(&c, &m, &ts); in main() 46 t_error("pthread_cond_timedwait did not timeout, returned %s\n", strerror(r)); in main()
|
/third_party/musl/libc-test/src/functionalext/supplement/thread/ |
H A D | pthread_cond_timedwait_sup.c | 35 pthread_cond_timedwait(&gcond, &gmutex, &outtime); in threadfuncA()
|
/third_party/FreeBSD/sys/kern/ |
H A D | kern_condvar.c | 46 return (pthread_cond_timedwait(cv, mtx, &abstime)); in cv_timedwait()
|
/third_party/mesa3d/src/util/ |
H A D | cnd_monotonic.h | 124 int rt = pthread_cond_timedwait(&cond->cond, mtx, abs_time); in u_cnd_monotonic_timedwait()
|
/third_party/python/Python/ |
H A D | thread_pthread_stubs.h | 56 pthread_cond_timedwait(pthread_cond_t *restrict cond, in pthread_cond_timedwait() function
|
/third_party/python/Include/cpython/ |
H A D | pthread_stubs.h | 56 PyAPI_FUNC(int) pthread_cond_timedwait(pthread_cond_t *restrict cond,
|
/third_party/musl/porting/linux/user/include/ |
H A D | pthread.h | 190 int pthread_cond_timedwait(pthread_cond_t *__restrict, pthread_mutex_t *__restrict, const struct timespec *__restrict); 410 __REDIR(pthread_cond_timedwait, __pthread_cond_timedwait_time64);
|
/third_party/musl/porting/liteos_a/kernel/include/ |
H A D | pthread.h | 188 int pthread_cond_timedwait(pthread_cond_t *__restrict, pthread_mutex_t *__restrict, const struct timespec *__restrict); 282 __REDIR(pthread_cond_timedwait, __pthread_cond_timedwait_time64);
|
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_timedwait/ |
H A D | stress1.c | 17 * This file is a stress test for the function pthread_cond_timedwait. 241 ret = pthread_cond_timedwait(&(cd->cnd), &(cd->mtx), &ts); in threaded_B() 310 ret = pthread_cond_timedwait(&(cd->cnd), &(cd->mtx), &ts); in threaded_A()
|
/third_party/musl/include/ |
H A D | pthread.h | 271 int pthread_cond_timedwait(pthread_cond_t *__restrict, pthread_mutex_t *__restrict, const struct timespec *__restrict); 385 __REDIR(pthread_cond_timedwait, __pthread_cond_timedwait_time64);
|