Searched refs:pthread_mutex_t (Results 26 - 50 of 100) sorted by relevance

1234

/openbsd-current/lib/libcrypto/arc4random/
H A Darc4random_hpux.h31 static pthread_mutex_t arc4random_mtx = PTHREAD_MUTEX_INITIALIZER;
H A Darc4random_netbsd.h31 static pthread_mutex_t arc4random_mtx = PTHREAD_MUTEX_INITIALIZER;
H A Darc4random_osx.h31 static pthread_mutex_t arc4random_mtx = PTHREAD_MUTEX_INITIALIZER;
H A Darc4random_solaris.h31 static pthread_mutex_t arc4random_mtx = PTHREAD_MUTEX_INITIALIZER;
H A Darc4random_linux.h31 static pthread_mutex_t arc4random_mtx = PTHREAD_MUTEX_INITIALIZER;
/openbsd-current/regress/lib/libpthread/sigdeliver/
H A Dsigdeliver.c14 static pthread_mutex_t sync_mutex;
/openbsd-current/regress/lib/libpthread/signals/pthread_mutex_lock/
H A Dpthread_mutex_lock.c10 pthread_mutex_t lock = PTHREAD_MUTEX_INITIALIZER;
/openbsd-current/lib/librthread/
H A Drthread.h60 pthread_mutex_t mutex;
/openbsd-current/gnu/llvm/compiler-rt/lib/tsan/tests/rtl/
H A Dtsan_posix.cpp20 pthread_mutex_t *mtx;
23 thread_key(pthread_key_t key, pthread_mutex_t *mtx, int val, int *cnt)
57 pthread_mutex_t mtx;
105 pthread_mutex_t m;
H A Dtsan_test_util_posix.cpp49 pthread_mutex_t mtx = PTHREAD_MUTEX_INITIALIZER;
102 CHECK_EQ(__interceptor_pthread_mutex_init((pthread_mutex_t*)mtx_, 0), 0);
117 pthread_mutex_t tmp = PTHREAD_MUTEX_INITIALIZER;
125 CHECK_EQ(__interceptor_pthread_mutex_destroy((pthread_mutex_t*)mtx_), 0);
137 CHECK_EQ(__interceptor_pthread_mutex_lock((pthread_mutex_t*)mtx_), 0);
149 return __interceptor_pthread_mutex_trylock((pthread_mutex_t*)mtx_) == 0;
162 CHECK_EQ(__interceptor_pthread_mutex_unlock((pthread_mutex_t*)mtx_), 0);
/openbsd-current/regress/lib/libc/malloc/malloc_threaderr/
H A Dmalloc_threaderr.c26 pthread_mutex_t mutex;
/openbsd-current/lib/libcurses/tinfo/
H A Dlib_data.c354 _nc_mutex_init(pthread_mutex_t * obj)
366 _nc_mutex_lock(pthread_mutex_t * obj)
375 _nc_mutex_trylock(pthread_mutex_t * obj)
384 _nc_mutex_unlock(pthread_mutex_t * obj)
/openbsd-current/gnu/llvm/compiler-rt/lib/sanitizer_common/symbolizer/
H A Dsanitizer_wrappers.cpp170 int(pthread_cond_t *, pthread_mutex_t *))
171 LLVM_SYMBOLIZER_INTERCEPTOR1(pthread_mutex_lock, int(pthread_mutex_t *))
172 LLVM_SYMBOLIZER_INTERCEPTOR1(pthread_mutex_unlock, int(pthread_mutex_t *))
173 LLVM_SYMBOLIZER_INTERCEPTOR1(pthread_mutex_destroy, int(pthread_mutex_t *))
175 int(pthread_mutex_t *,
/openbsd-current/lib/libc/thread/
H A Drthread_cond.c71 _rthread_cond_timedwait(pthread_cond_t cond, pthread_mutex_t *mutexp,
133 pthread_cond_timedwait(pthread_cond_t *condp, pthread_mutex_t *mutexp,
152 pthread_cond_wait(pthread_cond_t *condp, pthread_mutex_t *mutexp)
H A Drthread_sync.c39 pthread_mutex_init(pthread_mutex_t *mutexp, const pthread_mutexattr_t *attr)
63 pthread_mutex_destroy(pthread_mutex_t *mutexp)
85 _rthread_mutex_lock(pthread_mutex_t *mutexp, int trywait,
169 pthread_mutex_lock(pthread_mutex_t *p)
176 pthread_mutex_trylock(pthread_mutex_t *p)
182 pthread_mutex_timedlock(pthread_mutex_t *p, const struct timespec *abstime)
188 pthread_mutex_unlock(pthread_mutex_t *mutexp)
285 pthread_cond_timedwait(pthread_cond_t *condp, pthread_mutex_t *mutexp,
442 pthread_cond_wait(pthread_cond_t *condp, pthread_mutex_t *mutexp)
/openbsd-current/gnu/llvm/compiler-rt/lib/tsan/dd/
H A Ddd_interceptors.cpp43 INTERCEPTOR(int, pthread_mutex_destroy, pthread_mutex_t *m) {
49 INTERCEPTOR(int, pthread_mutex_lock, pthread_mutex_t *m) {
57 INTERCEPTOR(int, pthread_mutex_trylock, pthread_mutex_t *m) {
65 INTERCEPTOR(int, pthread_mutex_unlock, pthread_mutex_t *m) {
183 INTERCEPTOR(int, pthread_cond_wait, pthread_cond_t *c, pthread_mutex_t *m) {
193 INTERCEPTOR(int, pthread_cond_timedwait, pthread_cond_t *c, pthread_mutex_t *m,
/openbsd-current/gnu/gcc/gcc/
H A Dgthr-tpf.h53 typedef pthread_mutex_t __gthread_mutex_t;
54 typedef pthread_mutex_t __gthread_recursive_mutex_t;
/openbsd-current/gnu/lib/libstdc++/libstdc++/testsuite/thread/
H A Dpthread4.cc37 static pthread_mutex_t fooLock = PTHREAD_MUTEX_INITIALIZER;
/openbsd-current/regress/lib/libpthread/pcap/
H A Dpcap.c20 pthread_mutex_t dummy;
/openbsd-current/gnu/llvm/lldb/tools/debugserver/source/
H A DPThreadMutex.cpp33 PThreadMutex::Locker::Locker(pthread_mutex_t *mutex, const char *function,
/openbsd-current/usr.sbin/vmd/
H A Dns8250.h63 pthread_mutex_t mutex;
/openbsd-current/gnu/llvm/compiler-rt/lib/gwp_asan/tests/
H A Denable_disable.cpp42 pthread_mutex_t Mutex;
/openbsd-current/lib/libcrypto/
H A Dcrypto_lock.c24 static pthread_mutex_t locks[] = {
/openbsd-current/regress/lib/libpthread/group/
H A Dgroup.c24 pthread_mutex_t display;
25 pthread_mutex_t display2;
/openbsd-current/usr.sbin/unbound/testcode/
H A Dchecklocks.h126 pthread_mutex_t lock;
169 pthread_mutex_t mutex;

Completed in 236 milliseconds

1234