HomeSort by relevance Sort by last modified time
    Searched refs:pthread_spin_trylock (Results 1 - 15 of 15) sorted by null

  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_trylock/
4-1.c 7 * Test pthread_spin_trylock(pthread_spinlock_t *lock)
34 rc = pthread_spin_trylock(&spinlock);
36 printf("Correctly got EINVAL at pthread_spin_trylock()\n");
1-1.c 7 * Test pthread_spin_trylock(pthread_spinlock_t *lock)
15 * 2. Main thread lock 'spinlock', using pthread_spin_trylock(),
18 * using pthread_spin_trylock(), shall fail with EBUSY.
71 rc = pthread_spin_trylock(&spinlock);
89 if (pthread_spin_trylock(&spinlock) != 0) {
106 /* Check the return code of pthread_spin_trylock */
109 ("Test FAILED: pthread_spin_trylock should return EBUSY, instead got error code:%d\n",
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_unlock/
1-1.c 10 * was locked via the pthread_spin_lock() or pthread_spin_trylock().
18 * pthread_spin_trylock(), should get the lock.
20 * 6. Main thread lock 'spinlock', using pthread_spin_trylock(), should get
48 rc = pthread_spin_trylock(&spinlock);
109 if (pthread_spin_trylock(&spinlock) != 0) {
  /bionic/libc/bionic/
pthread_spinlock.cpp 61 int pthread_spin_trylock(pthread_spinlock_t* lock_interface) { function
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_init/
2-1.c 22 * 6. Child call pthread_spin_trylock(), should fail with EBUSY
141 if ((pthread_spin_trylock(&(spinlock_data->spinlock))) != EBUSY) {
157 if ((pthread_spin_trylock(&(spinlock_data->spinlock))) != 0) {
2-2.c 25 * 6. Child call pthread_spin_trylock()
27 * 8. Child call pthread_spin_trylock()
148 rc = pthread_spin_trylock(&(spinlock_data->spinlock));
162 rc = pthread_spin_trylock(&(spinlock_data->spinlock));
  /external/compiler-rt/lib/tsan/dd/
dd_interceptors.cc 86 INTERCEPTOR(int, pthread_spin_trylock, pthread_spinlock_t *m) {
88 int res = REAL(pthread_spin_trylock)(m);
303 INTERCEPT_FUNCTION(pthread_spin_trylock);
  /bionic/libc/include/
pthread.h 223 int pthread_spin_trylock(pthread_spinlock_t* _Nonnull) __INTRODUCED_IN(24);
  /external/compiler-rt/test/tsan/
deadlock_detector_stress_test.cc 71 bool try_lock() { return 0 == pthread_spin_trylock(&mu_); }
  /external/compiler-rt/lib/tsan/rtl/
tsan_interceptors.cc     [all...]
  /external/compiler-rt/lib/tsan/tests/rtl/
tsan_test_util_posix.cc 200 return pthread_spin_trylock((pthread_spinlock_t*)mtx_) == 0;
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/
pthread.h     [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/
pthread.h     [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
pthread.h 354 int WINPTHREAD_API pthread_spin_trylock(pthread_spinlock_t *l);
    [all...]
  /bionic/tests/
pthread_test.cpp     [all...]

Completed in 641 milliseconds