Home
last modified time | relevance | path

Searched refs:pthread_mutex_trylock (Results 1 – 25 of 31) sorted by relevance

12

/openbsd/gnu/gcc/libgomp/config/posix/
H A Dlock.c73 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 Dlock.c64 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 Dpthread_mutex.c119 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 Dgthr-dce.h73 #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 Dgthr-posix.h57 #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 Dgthr-posix95.h78 __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 Dgthr-posix.h88 __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 Dgthr-tpf.h89 __gthrw(pthread_mutex_trylock) in __gthrw()
160 return __gthrw_(pthread_mutex_trylock) (mutex); in __gthread_mutex_trylock()
H A Dgthr-dce.h75 __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 Dgthr-posix.c91 pthread_mutex_trylock (pthread_mutex_t *mutex ATTRIBUTE_UNUSED) in pthread_mutex_trylock() function
/openbsd/regress/lib/libpthread/socket/2/
H A Dsocket2.c162 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 Dlib_data.c335 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 Dmutex_posix.cpp22 bool Mutex::tryLock() { return pthread_mutex_trylock(&Mu) == 0; } in tryLock()
/openbsd/gnu/llvm/compiler-rt/lib/tsan/dd/
H A Ddd_interceptors.cpp57 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 Dpthread.h43 PROTO_STD_DEPRECATED(pthread_mutex_trylock);
/openbsd/gnu/llvm/lldb/tools/debugserver/source/
H A DPThreadMutex.cpp45 if (::pthread_mutex_trylock(m_pMutex) != 0) { in Lock()
/openbsd/include/
H A Dpthread.h234 int pthread_mutex_trylock(pthread_mutex_t *);
/openbsd/lib/libc/thread/
H A Drthread_mutex.c208 pthread_mutex_trylock(pthread_mutex_t *mutexp) in pthread_mutex_trylock() function
H A Drthread_sync.c176 pthread_mutex_trylock(pthread_mutex_t *p) in pthread_mutex_trylock() function
/openbsd/gnu/gcc/libmudflap/
H A Dmf-impl.h231 int rc = pthread_mutex_trylock (& __mf_biglock); \
/openbsd/gnu/llvm/libcxx/include/
H A D__threading_support291 return pthread_mutex_trylock(__m) == 0;
311 return pthread_mutex_trylock(__m) == 0;
/openbsd/usr.sbin/unbound/testcode/
H A Dchecklocks.c125 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 Duselocale.c202 if ((irc = pthread_mutex_trylock(&mtx)) != 0) in switch_thread()
/openbsd/gnu/llvm/compiler-rt/lib/tsan/rtl/
H A Dtsan_interceptors_posix.cpp1379 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 DFDInterposing.cpp259 lock_acquired = ::pthread_mutex_trylock(mutex_ptr) == 0; in Locker()

12