Home
last modified time | relevance | path

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

12

/netbsd-src/external/gpl3/gcc.old/dist/libgomp/config/posix/
H A Dlock.c68 return pthread_mutex_trylock (lock) == 0; in gomp_test_lock_30()
115 if (pthread_mutex_trylock (&lock->lock) != 0) in gomp_test_nest_lock_30()
238 return pthread_mutex_trylock (lock) == 0; in gomp_test_lock_25()
276 if (pthread_mutex_trylock (&lock->lock) == 0) in gomp_test_nest_lock_25()
/netbsd-src/external/gpl3/gcc/dist/libgomp/config/posix/
H A Dlock.c68 return pthread_mutex_trylock (lock) == 0; in gomp_test_lock_30()
115 if (pthread_mutex_trylock (&lock->lock) != 0) in gomp_test_nest_lock_30()
238 return pthread_mutex_trylock (lock) == 0; in gomp_test_lock_25()
276 if (pthread_mutex_trylock (&lock->lock) == 0) in gomp_test_nest_lock_25()
/netbsd-src/external/mpl/dhcp/bind/dist/lib/isc/pthreads/include/isc/
H A Dmutex.h94 ((pthread_mutex_trylock((&(mp)->mutex)) == 0) ? ISC_R_SUCCESS \
98 ((pthread_mutex_trylock((mp)) == 0) ? ISC_R_SUCCESS : ISC_R_LOCKBUSY)
/netbsd-src/external/gpl3/gcc/dist/libgcc/config/pa/
H A Dgthr-dce.h81 __gthrw(pthread_mutex_trylock) in __gthrw()
357 && __gthrw_(pthread_mutex_trylock) ((pthread_mutex_t *) mutex->backend) != 1) in __gthread_objc_mutex_trylock()
506 return __gthrw_(pthread_mutex_trylock) (__mutex); in __gthread_mutex_trylock()
/netbsd-src/external/gpl3/gcc.old/dist/libgcc/config/pa/
H A Dgthr-dce.h81 __gthrw(pthread_mutex_trylock) in __gthrw()
357 && __gthrw_(pthread_mutex_trylock) ((pthread_mutex_t *) mutex->backend) != 1) in __gthread_objc_mutex_trylock()
506 return __gthrw_(pthread_mutex_trylock) (__mutex); in __gthread_mutex_trylock()
/netbsd-src/external/gpl3/gcc/dist/libgcc/config/s390/
H A Dgthr-tpf.h85 __gthrw(pthread_mutex_trylock) in __gthrw()
166 return __gthrw_(pthread_mutex_trylock) (__mutex); in __gthread_mutex_trylock()
/netbsd-src/external/gpl3/gcc.old/dist/libgcc/config/s390/
H A Dgthr-tpf.h85 __gthrw(pthread_mutex_trylock) in __gthrw()
166 return __gthrw_(pthread_mutex_trylock) (__mutex); in __gthread_mutex_trylock()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/
H A Dsanitizer_stoptheworld_test.cc44 if (pthread_mutex_trylock(&incrementer_thread_exit_mutex) == 0) { in IncrementerThread()
133 if (pthread_mutex_trylock(&advanced_incrementer_thread_exit_mutex) == 0) { in AdvancedIncrementerThread()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/tsan/dd/
H A Ddd_interceptors.cc57 INTERCEPTOR(int, pthread_mutex_trylock, pthread_mutex_t *m) { in INTERCEPTOR() argument
59 int res = REAL(pthread_mutex_trylock)(m); in INTERCEPTOR()
297 INTERCEPT_FUNCTION(pthread_mutex_trylock); in InitializeInterceptors()
/netbsd-src/external/mpl/bind/dist/contrib/dlz/modules/include/
H A Ddlz_pthread.h
/netbsd-src/external/gpl3/gcc.old/dist/libgcc/
H A Dgthr-posix.h117 __gthrw(pthread_mutex_trylock)
572 && __gthrw_(pthread_mutex_trylock) ((pthread_mutex_t *) mutex->backend) != 0) in __gthread_objc_mutex_trylock()
761 return __gthrw_(pthread_mutex_trylock) (__mutex); in __gthread_mutex_trylock()
/netbsd-src/external/gpl3/gcc/dist/libgcc/
H A Dgthr-posix.h117 __gthrw(pthread_mutex_trylock)
572 && __gthrw_(pthread_mutex_trylock) ((pthread_mutex_t *) mutex->backend) != 0) in __gthread_objc_mutex_trylock()
761 return __gthrw_(pthread_mutex_trylock) (__mutex); in __gthread_mutex_trylock()
/netbsd-src/external/mpl/bind/dist/lib/isc/include/isc/
H A Dmutex.h87 ((pthread_mutex_trylock(mp) == 0) ? ISC_R_SUCCESS : ISC_R_LOCKBUSY)
/netbsd-src/lib/libpthread/
H A Dpthread.h98 int pthread_mutex_trylock(pthread_mutex_t *);
347 #define pthread_mutex_trylock __libc_mutex_trylock macro
H A Dmtx.c141 switch(pthread_mutex_trylock(mtx)) { in mtx_trylock()
H A Dpthread_mutex.c116 __strong_alias(__libc_mutex_trylock,pthread_mutex_trylock) in __weak_alias()
396 pthread_mutex_trylock(pthread_mutex_t *ptm) in pthread_mutex_trylock() function
/netbsd-src/external/bsd/nvi/dist/common/
H A Dpthread.c101 return pthread_mutex_trylock((pthread_mutex_t *)*p); in vi_pthread_lock_try()
/netbsd-src/external/cddl/osnet/dist/head/
H A Dthread.h58 #define mutex_trylock(l) pthread_mutex_trylock(l)
/netbsd-src/external/bsd/libevent/dist/
H A Devthread_pthread.c76 return pthread_mutex_trylock(lock); in evthread_posix_lock()
/netbsd-src/external/bsd/ntp/dist/sntp/libevent/
H A Devthread_pthread.c75 return pthread_mutex_trylock(lock); in evthread_posix_lock()
/netbsd-src/external/gpl2/lvm2/dist/daemons/dmeventd/plugins/snapshot/
H A Ddmeventd_snapshot.c121 if (pthread_mutex_trylock(&_event_mutex)) { in process_event()
/netbsd-src/lib/librumpuser/
H A Drumpuser_pth.c201 if (pthread_mutex_trylock(&mtx->pthmtx) != 0) in rumpuser_mutex_enter()
220 rv = pthread_mutex_trylock(&mtx->pthmtx); in rumpuser_mutex_tryenter()
/netbsd-src/external/gpl2/lvm2/dist/daemons/dmeventd/plugins/mirror/
H A Ddmeventd_mirror.c189 if (pthread_mutex_trylock(&_event_mutex)) { in process_event()
/netbsd-src/external/bsd/openldap/dist/libraries/libldap/
H A Dthr_posix.c324 return ERRVAL( pthread_mutex_trylock( mutex ) ); in ldap_pvt_thread_mutex_trylock()
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sync/
H A Dmutex.d269 return pthread_mutex_trylock(&m_hndl) == 0; in version()

12