/openbsd/gnu/gcc/libgomp/config/posix/ |
H A D | lock.c | 73 return pthread_mutex_trylock (lock) == 0; in omp_test_lock() 111 if (pthread_mutex_trylock (&lock->lock) == 0) in omp_test_nest_lock()
|
/openbsd/gnu/gcc/libgomp/config/posix95/ |
H A D | lock.c | 64 return pthread_mutex_trylock (lock) == 0; in omp_test_lock() 114 if (pthread_mutex_trylock (&lock->lock) != 0) in omp_test_nest_lock()
|
/openbsd/regress/lib/libpthread/pthread_mutex/ |
H A D | pthread_mutex.c | 119 CHECKr(pthread_mutex_trylock(mutex)); in test_nocontention_trylock() 189 CHECKr(pthread_mutex_trylock(mutex)); in test_mutex_recursive_trylock() 191 CHECKr(pthread_mutex_trylock(mutex)); in test_mutex_recursive_trylock()
|
/openbsd/gnu/usr.bin/gcc/gcc/ |
H A D | gthr-dce.h | 73 #pragma weak pthread_mutex_trylock macro 337 && pthread_mutex_trylock ((pthread_mutex_t *) mutex->backend) != 1) in __gthread_objc_mutex_trylock() 477 return pthread_mutex_trylock (mutex); in __gthread_mutex_trylock()
|
H A D | gthr-posix.h | 57 #pragma weak pthread_mutex_trylock macro 359 && pthread_mutex_trylock ((pthread_mutex_t *) mutex->backend) != 0) in __gthread_objc_mutex_trylock() 505 return pthread_mutex_trylock (mutex); in __gthread_mutex_trylock()
|
/openbsd/gnu/gcc/gcc/ |
H A D | gthr-posix95.h | 78 __gthrw(pthread_mutex_trylock) 444 && __gthrw_(pthread_mutex_trylock) ((pthread_mutex_t *) mutex->backend) != 0) in __gthread_objc_mutex_trylock() 580 return __gthrw_(pthread_mutex_trylock) (mutex); in __gthread_mutex_trylock() 629 if (__gthrw_(pthread_mutex_trylock) (&mutex->actual)) in __gthread_recursive_mutex_trylock()
|
H A D | gthr-posix.h | 88 __gthrw3(pthread_mutex_trylock) 98 __gthrw(pthread_mutex_trylock) 481 && __gthrw_(pthread_mutex_trylock) ((pthread_mutex_t *) mutex->backend) != 0) in __gthread_objc_mutex_trylock() 617 return __gthrw_(pthread_mutex_trylock) (mutex); in __gthread_mutex_trylock()
|
H A D | gthr-tpf.h | 89 __gthrw(pthread_mutex_trylock) in __gthrw() 160 return __gthrw_(pthread_mutex_trylock) (mutex); in __gthread_mutex_trylock()
|
H A D | gthr-dce.h | 75 __gthrw(pthread_mutex_trylock) in __gthrw() 351 && __gthrw_(pthread_mutex_trylock) ((pthread_mutex_t *) mutex->backend) != 1) in __gthread_objc_mutex_trylock() 490 return __gthrw_(pthread_mutex_trylock) (mutex); in __gthread_mutex_trylock()
|
H A D | gthr-posix.c | 91 pthread_mutex_trylock (pthread_mutex_t *mutex ATTRIBUTE_UNUSED) in pthread_mutex_trylock() function
|
/openbsd/regress/lib/libpthread/socket/2/ |
H A D | socket2.c | 162 if (pthread_mutex_trylock(&waiter_mutex) == EBUSY) { in sock_accept() 164 if (pthread_mutex_trylock(&waiter_mutex) == EBUSY) { in sock_accept()
|
/openbsd/lib/libcurses/tinfo/ |
H A D | lib_data.c | 335 if ((pthread_mutex_trylock) == 0) in _nc_init_pthreads() 379 rc = pthread_mutex_trylock(obj); in _nc_mutex_trylock()
|
/openbsd/gnu/llvm/compiler-rt/lib/gwp_asan/platform_specific/ |
H A D | mutex_posix.cpp | 22 bool Mutex::tryLock() { return pthread_mutex_trylock(&Mu) == 0; } in tryLock()
|
/openbsd/gnu/llvm/compiler-rt/lib/tsan/dd/ |
H A D | dd_interceptors.cpp | 57 INTERCEPTOR(int, pthread_mutex_trylock, pthread_mutex_t *m) { in INTERCEPTOR() argument 59 int res = REAL(pthread_mutex_trylock)(m); in INTERCEPTOR() 298 INTERCEPT_FUNCTION(pthread_mutex_trylock); in InitializeInterceptors()
|
/openbsd/lib/libc/hidden/ |
H A D | pthread.h | 43 PROTO_STD_DEPRECATED(pthread_mutex_trylock);
|
/openbsd/gnu/llvm/lldb/tools/debugserver/source/ |
H A D | PThreadMutex.cpp | 45 if (::pthread_mutex_trylock(m_pMutex) != 0) { in Lock()
|
/openbsd/include/ |
H A D | pthread.h | 234 int pthread_mutex_trylock(pthread_mutex_t *);
|
/openbsd/lib/libc/thread/ |
H A D | rthread_mutex.c | 208 pthread_mutex_trylock(pthread_mutex_t *mutexp) in pthread_mutex_trylock() function
|
H A D | rthread_sync.c | 176 pthread_mutex_trylock(pthread_mutex_t *p) in pthread_mutex_trylock() function
|
/openbsd/gnu/gcc/libmudflap/ |
H A D | mf-impl.h | 231 int rc = pthread_mutex_trylock (& __mf_biglock); \
|
/openbsd/gnu/llvm/libcxx/include/ |
H A D | __threading_support | 291 return pthread_mutex_trylock(__m) == 0; 311 return pthread_mutex_trylock(__m) == 0;
|
/openbsd/usr.sbin/unbound/testcode/ |
H A D | checklocks.c | 125 if((err = pthread_mutex_trylock(&lock->lock))) { in acquire_locklock() 554 { return pthread_mutex_trylock((pthread_mutex_t*)arg); } in try_mutex()
|
/openbsd/regress/lib/libc/locale/uselocale/ |
H A D | uselocale.c | 202 if ((irc = pthread_mutex_trylock(&mtx)) != 0) in switch_thread()
|
/openbsd/gnu/llvm/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_interceptors_posix.cpp | 1379 TSAN_INTERCEPTOR(int, pthread_mutex_trylock, void *m) { in TSAN_INTERCEPTOR() argument 1380 SCOPED_TSAN_INTERCEPTOR(pthread_mutex_trylock, m); in TSAN_INTERCEPTOR() 1381 int res = REAL(pthread_mutex_trylock)(m); in TSAN_INTERCEPTOR() 2942 TSAN_INTERCEPT(pthread_mutex_trylock); in InitializeInterceptors()
|
/openbsd/gnu/llvm/lldb/examples/interposing/darwin/fd_interposing/ |
H A D | FDInterposing.cpp | 259 lock_acquired = ::pthread_mutex_trylock(mutex_ptr) == 0; in Locker()
|