Searched defs:EBUSY (Results 1 - 2 of 2) sorted by relevance

/system/extras/tests/bionic/libc/common/
H A Dtest_pthread_mutex.c38 * GLibc returns EBUSY instead.
41 # define ERRNO_PTHREAD_EDEADLK EBUSY
182 TEXPECT_INT(pthread_mutex_trylock(lock),EBUSY); local
269 * - thread 2 trylocks() the mutex. In case of failure (EBUSY), it waits
307 if (ret == EBUSY) {
H A Dtest_pthread_rwlock.c37 * GLibc returns EBUSY instead.
40 # define ERRNO_PTHREAD_EDEADLK EBUSY
196 TEXPECT_INT(pthread_rwlock_trywrlock(lock),EBUSY); local
240 * - thread 2 trywrlocks() the rwlock. In case of failure (EBUSY), it waits
284 if (ret == EBUSY) {

Completed in 57 milliseconds