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

123

/external/valgrind/helgrind/tests/
H A Dcond_timedwait_test.c13 pthread_cond_timedwait(&cond, &mutex, &now);
H A Dcond_timedwait_invalid.stderr.exp8 Thread #x's call to pthread_cond_timedwait failed
11 by 0x........: pthread_cond_timedwait@* (hg_intercepts.c:...)
H A Dcond_timedwait_invalid.c22 assert(pthread_cond_timedwait(&cond, &mutex, &abstime)==EINVAL);
/external/compiler-rt/test/tsan/
H A Dcond_version.c35 res = pthread_cond_timedwait(&c, &m, &ts1);
/external/ltp/testcases/realtime/stress/pi-tests/
H A Dlookup_pi_state.c146 pthread_cond_timedwait(&CM, &MM, &ts_abs_timeout);
164 pthread_cond_timedwait(&CT, &MT, &ts_abs_timeout);
/external/libusb/libusb/os/
H A Dthreads_posix.c57 return pthread_cond_timedwait(cond, mutex, &timeout);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/
H A D4-1.c8 * Test that pthread_cond_timedwait()
53 rc = pthread_cond_timedwait(&td.cond, &td.mutex, &timeout);
60 "pthread_cond_timedwait return %d instead of ETIMEDOUT\n",
H A D1-1.c8 * Test that pthread_cond_timedwait()
57 rc = pthread_cond_timedwait(&td.cond, &td.mutex, &timeout);
64 fprintf(stderr, "pthread_cond_timedwait return %d\n",
H A D2-1.c8 * Test that pthread_cond_timedwait()
63 rc = pthread_cond_timedwait(&td.cond, &td.mutex, &timeout);
70 fprintf(stderr, "pthread_cond_timedwait return %d\n",
H A D2-2.c8 * Test that pthread_cond_timedwait()
54 /* Set time for pthread_cond_timedwait to wait */
66 rc = pthread_cond_timedwait(&td.cond, &td.mutex, &timeout);
72 "Test FAILED: pthread_cond_timedwait return %d instead of ETIMEDOUT\n",
111 * pthread_cond_timedwait functioned incorrectly and waited too long. */
H A D2-3.c8 * Test that pthread_cond_timedwait()
57 rc = pthread_cond_timedwait(&td.cond, &td.mutex, &timeout);
63 "pthread_cond_timedwait return %d instead of ETIMEDOUT\n",
90 * pthread_cond_timedwait is failing to function correctly. */
99 /* Make sure pthread_cond_timedwait released and re-acquired the mutex
104 "Test FAILED: Did not re-acquire mutex after timedout out call to pthread_cond_timedwait\n");
H A D3-1.c8 * Test that pthread_cond_timedwait()
56 rc = pthread_cond_timedwait(&td.cond, &td.mutex, &timeout);
63 fprintf(stderr, "pthread_cond_timedwait return %d\n",
H A D2-5.c106 ret = pthread_cond_timedwait(&(data.cnd), &(data.mtx1),
141 ret = pthread_cond_timedwait(&(data.cnd), &(data.mtx2),
/external/webrtc/webrtc/system_wrappers/source/
H A Devent_timer_posix.cc99 ret_val = pthread_cond_timedwait(&cond_, &mutex_, &end_at);
123 ret_val = pthread_cond_timedwait(&cond_, &mutex_, end_at);
H A Dcondition_variable_posix.cc116 const int res = pthread_cond_timedwait(&cond_, &cs->mutex_, &ts);
/external/webrtc/webrtc/base/
H A Devent.cc114 error = pthread_cond_timedwait(&event_cond_, &event_mutex_, &ts);
/external/compiler-rt/lib/tsan/dd/
H A Ddd_interceptors.cc193 INTERCEPTOR(int, pthread_cond_timedwait, pthread_cond_t *c, pthread_mutex_t *m,
199 int res = REAL(pthread_cond_timedwait)(cond, m, abstime);
319 INTERCEPT_FUNCTION_VER(pthread_cond_timedwait, "GLIBC_2.3.2");
/external/libchrome/base/synchronization/
H A Dcondition_variable_posix.cc92 // The timeout argument to pthread_cond_timedwait is in absolute time.
117 int rv = pthread_cond_timedwait(&condition_, user_mutex_, &absolute_time);
/external/libevent/
H A Devthread_pthread.c148 r = pthread_cond_timedwait(cond, lock, &ts);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/
H A D2-2.c10 * returns from its call to pthread_cond_timedwait(), the thread shall
11 * own the mutex with which it called pthread_cond_timedwait().
60 rc = pthread_cond_timedwait(&td.cond, &td.mutex, &timeout);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_signal/
H A D2-2.c10 * returns from its call to pthread_cond_timedwait(), the thread shall
11 * own the mutex with which it called pthread_cond_timedwait().
61 rc = pthread_cond_timedwait(&td.cond, &td.mutex, &timeout);
/external/valgrind/drd/tests/
H A Dpth_inconsistent_cond_wait.c86 PTH_CALL(pthread_cond_timedwait(&s_cond, mutex, &deadline));
/external/dng_sdk/source/
H A Ddng_mutex.cpp346 timedOut = (pthread_cond_timedwait (&fPthreadCondition, &mutex.fPthreadMutex, &now) == ETIMEDOUT);
H A Ddng_pthread.h219 #define pthread_cond_timedwait dng_pthread_cond_timedwait macro
/external/libcups/cups/
H A Dthread.c62 pthread_cond_timedwait(cond, mutex, &abstime);

Completed in 443 milliseconds

123