Home
last modified time | relevance | path

Searched refs:pthread_cond_timedwait (Results 1 - 25 of 81) sorted by relevance

1234

/third_party/ffmpeg/libavutil/
H A Dthread.h122 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 Dlookup_pi_state.c146 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 Dpthread_cond_wait.c5 return pthread_cond_timedwait(c, m, 0); in pthread_cond_wait()
/third_party/musl/compat/time32/
H A Dpthread_cond_timedwait_time32.c7 return pthread_cond_timedwait(c, m, !ts32 ? 0 : (&(struct timespec){ in __pthread_cond_timedwait_time32()
/third_party/musl/porting/uniproton/kernel/include/
H A Dpthread.h124 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 Dpthread.h124 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 Dpthread.h124 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 Dpthread.h117 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 D2-5.c100 ret = pthread_cond_timedwait(&(data.cnd), &(data.mtx1), in threaded()
135 ret = pthread_cond_timedwait(&(data.cnd), &(data.mtx2), in threaded()
H A D4-1.c8 * 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 D2-2.c8 * 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 D2-3.c8 * 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 D1-1.c8 * 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 D3-1.c8 * 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 Dpthread_cond_wait-cancel_ignored.c46 while (waiting && !pthread_cond_timedwait(&cv, &mx, &ts)); in main()
H A Dpthread_condattr_setclock.c44 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 Dpthread_cond_timedwait_sup.c35 pthread_cond_timedwait(&gcond, &gmutex, &outtime); in threadfuncA()
/third_party/FreeBSD/sys/kern/
H A Dkern_condvar.c46 return (pthread_cond_timedwait(cv, mtx, &abstime)); in cv_timedwait()
/third_party/mesa3d/src/util/
H A Dcnd_monotonic.h124 int rt = pthread_cond_timedwait(&cond->cond, mtx, abs_time); in u_cnd_monotonic_timedwait()
/third_party/python/Python/
H A Dthread_pthread_stubs.h56 pthread_cond_timedwait(pthread_cond_t *restrict cond, in pthread_cond_timedwait() function
/third_party/python/Include/cpython/
H A Dpthread_stubs.h56 PyAPI_FUNC(int) pthread_cond_timedwait(pthread_cond_t *restrict cond,
/third_party/musl/porting/linux/user/include/
H A Dpthread.h190 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 Dpthread.h188 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 Dstress1.c17 * 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 Dpthread.h271 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);

Completed in 10 milliseconds

1234