Searched refs:pthread_mutex_timedlock (Results 1 - 4 of 4) sorted by relevance

/bionic/libc/include/
H A Dpthread.h158 int pthread_mutex_timedlock(pthread_mutex_t* _Nonnull, const struct timespec* _Nonnull)
/bionic/tools/versioner/current/
H A Dpthread.h158 int pthread_mutex_timedlock(pthread_mutex_t* _Nonnull, const struct timespec* _Nonnull)
/bionic/tests/
H A Dpthread_test.cpp1751 TEST(pthread, pthread_mutex_timedlock) {
1755 // If the mutex is already locked, pthread_mutex_timedlock should time out.
1760 ASSERT_EQ(ETIMEDOUT, pthread_mutex_timedlock(&m, &ts));
1762 ASSERT_EQ(EINVAL, pthread_mutex_timedlock(&m, &ts));
1764 ASSERT_EQ(EINVAL, pthread_mutex_timedlock(&m, &ts));
1767 ASSERT_EQ(ETIMEDOUT, pthread_mutex_timedlock(&m, &ts));
1769 // If the mutex is unlocked, pthread_mutex_timedlock should succeed.
1774 ASSERT_EQ(0, pthread_mutex_timedlock(&m, &ts));
/bionic/libc/bionic/
H A Dpthread_mutex.cpp635 int pthread_mutex_timedlock(pthread_mutex_t* mutex_interface, const timespec* abs_timeout) { function

Completed in 66 milliseconds