Searched refs:pthread_mutex_t (Results 1 - 25 of 100) sorted by path

1234

/openbsd-current/gnu/gcc/gcc/
H A Dgthr-dce.h49 typedef pthread_mutex_t __gthread_mutex_t;
50 typedef pthread_mutex_t __gthread_recursive_mutex_t;
306 mutex->backend = objc_malloc (sizeof (pthread_mutex_t));
308 if (__gthrw_(pthread_mutex_init) ((pthread_mutex_t *) mutex->backend,
326 if (__gthrw_(pthread_mutex_destroy) ((pthread_mutex_t *) mutex->backend))
341 return __gthrw_(pthread_mutex_lock) ((pthread_mutex_t *) mutex->backend);
351 && __gthrw_(pthread_mutex_trylock) ((pthread_mutex_t *) mutex->backend) != 1)
362 return __gthrw_(pthread_mutex_unlock) ((pthread_mutex_t *) mutex->backend);
H A Dgthr-posix.c85 pthread_mutex_lock (pthread_mutex_t *mutex ATTRIBUTE_UNUSED)
91 pthread_mutex_trylock (pthread_mutex_t *mutex ATTRIBUTE_UNUSED)
97 pthread_mutex_unlock (pthread_mutex_t *mutex ATTRIBUTE_UNUSED)
148 pthread_mutex_t *mutex ATTRIBUTE_UNUSED)
159 pthread_mutex_init (pthread_mutex_t *mutex ATTRIBUTE_UNUSED,
166 pthread_mutex_destroy (pthread_mutex_t *mutex ATTRIBUTE_UNUSED)
H A Dgthr-posix.h48 typedef pthread_mutex_t __gthread_mutex_t;
49 typedef pthread_mutex_t __gthread_recursive_mutex_t;
170 static pthread_mutex_t __gthread_active_mutex = PTHREAD_MUTEX_INITIALIZER;
420 mutex->backend = objc_malloc (sizeof (pthread_mutex_t));
422 if (__gthrw_(pthread_mutex_init) ((pthread_mutex_t *) mutex->backend, NULL))
448 count = __gthrw_(pthread_mutex_unlock) ((pthread_mutex_t *) mutex->backend);
454 if (__gthrw_(pthread_mutex_destroy) ((pthread_mutex_t *) mutex->backend))
468 && __gthrw_(pthread_mutex_lock) ((pthread_mutex_t *) mutex->backend) != 0)
481 && __gthrw_(pthread_mutex_trylock) ((pthread_mutex_t *) mutex->backend) != 0)
494 && __gthrw_(pthread_mutex_unlock) ((pthread_mutex_t *) mute
[all...]
H A Dgthr-posix95.h47 typedef pthread_mutex_t __gthread_mutex_t;
52 pthread_mutex_t actual;
133 static pthread_mutex_t __gthread_active_mutex = PTHREAD_MUTEX_INITIALIZER;
383 mutex->backend = objc_malloc (sizeof (pthread_mutex_t));
385 if (__gthrw_(pthread_mutex_init) ((pthread_mutex_t *) mutex->backend, NULL))
411 count = __gthrw_(pthread_mutex_unlock) ((pthread_mutex_t *) mutex->backend);
417 if (__gthrw_(pthread_mutex_destroy) ((pthread_mutex_t *) mutex->backend))
431 && __gthrw_(pthread_mutex_lock) ((pthread_mutex_t *) mutex->backend) != 0)
444 && __gthrw_(pthread_mutex_trylock) ((pthread_mutex_t *) mutex->backend) != 0)
457 && __gthrw_(pthread_mutex_unlock) ((pthread_mutex_t *) mute
[all...]
H A Dgthr-tpf.h53 typedef pthread_mutex_t __gthread_mutex_t;
54 typedef pthread_mutex_t __gthread_recursive_mutex_t;
/openbsd-current/gnu/gcc/libgomp/config/posix/
H A Dmutex.h36 typedef pthread_mutex_t gomp_mutex_t;
H A Domp-lock.h10 typedef pthread_mutex_t omp_lock_t;
11 typedef struct { pthread_mutex_t lock; int count; } omp_nest_lock_t;
H A Dsem.h54 pthread_mutex_t mutex;
/openbsd-current/gnu/gcc/libgomp/config/posix95/
H A Domp-lock.h10 typedef pthread_mutex_t omp_lock_t;
14 pthread_mutex_t lock;
/openbsd-current/gnu/gcc/libmudflap/
H A Dmf-hooks3.c105 static pthread_mutex_t mf_thread_data_lock = PTHREAD_MUTEX_INITIALIZER;
H A Dmf-impl.h229 extern pthread_mutex_t __mf_biglock;
H A Dmf-runtime.c188 pthread_mutex_t __mf_biglock =
/openbsd-current/gnu/lib/libstdc++/libstdc++/include/bits/
H A Dpthread_allocimpl.h134 static pthread_mutex_t _S_chunk_allocator_lock;
398 pthread_mutex_t _Pthread_alloc_template<_Max_size>::_S_chunk_allocator_lock
/openbsd-current/gnu/lib/libstdc++/libstdc++/testsuite/thread/
H A Dpthread1.cc61 pthread_mutex_t fooLock;
H A Dpthread4.cc37 static pthread_mutex_t fooLock = PTHREAD_MUTEX_INITIALIZER;
/openbsd-current/gnu/usr.bin/binutils/gdb/testsuite/gdb.threads/
H A Dlinux-dp.c31 pthread_mutex_t stdout_mutex;
35 pthread_mutex_t random_mutex;
40 pthread_mutex_t *fork_mutex;
H A Dpthread_cond_wait.c28 cond_wait (pthread_cond_t *cond, pthread_mutex_t *mut)
38 pthread_mutex_t mut;
H A Dstep.c23 pthread_mutex_t mut;
/openbsd-current/gnu/usr.bin/gcc/gcc/
H A Dgthr-dce.h54 typedef pthread_mutex_t __gthread_mutex_t;
292 mutex->backend = objc_malloc (sizeof (pthread_mutex_t));
294 if (pthread_mutex_init ((pthread_mutex_t *) mutex->backend,
312 if (pthread_mutex_destroy ((pthread_mutex_t *) mutex->backend))
327 return pthread_mutex_lock ((pthread_mutex_t *) mutex->backend);
337 && pthread_mutex_trylock ((pthread_mutex_t *) mutex->backend) != 1)
348 return pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend);
H A Dgthr-posix.h42 typedef pthread_mutex_t __gthread_mutex_t;
298 mutex->backend = objc_malloc (sizeof (pthread_mutex_t));
300 if (pthread_mutex_init ((pthread_mutex_t *) mutex->backend, NULL))
326 count = pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend);
332 if (pthread_mutex_destroy ((pthread_mutex_t *) mutex->backend))
346 && pthread_mutex_lock ((pthread_mutex_t *) mutex->backend) != 0)
359 && pthread_mutex_trylock ((pthread_mutex_t *) mutex->backend) != 0)
372 && pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend) != 0)
422 (pthread_mutex_t *) mutex->backend);
/openbsd-current/include/
H A Dpthread.h110 * pthread_condattr_t, pthread_mutex_t, pthread_mutexattr_t.
114 typedef volatile struct pthread_mutex *pthread_mutex_t; typedef in typeref:struct:pthread_mutex
140 pthread_mutex_t mutex;
211 pthread_mutex_t *, const struct timespec *);
212 int pthread_cond_wait(pthread_cond_t *, pthread_mutex_t *);
228 int pthread_mutex_destroy(pthread_mutex_t *);
229 int pthread_mutex_init(pthread_mutex_t *,
231 int pthread_mutex_lock(pthread_mutex_t *);
232 int pthread_mutex_timedlock(pthread_mutex_t *,
234 int pthread_mutex_trylock(pthread_mutex_t *);
[all...]
/openbsd-current/lib/libc/thread/
H A Drthread_mutex.c49 pthread_mutex_init(pthread_mutex_t *mutexp, const pthread_mutexattr_t *attr)
51 pthread_mutex_t mutex;
72 pthread_mutex_destroy(pthread_mutex_t *mutexp)
74 pthread_mutex_t mutex;
96 _rthread_mutex_trylock(pthread_mutex_t mutex, int trywait,
136 _rthread_mutex_timedlock(pthread_mutex_t *mutexp, int trywait,
140 pthread_mutex_t mutex;
208 pthread_mutex_trylock(pthread_mutex_t *mutexp)
214 pthread_mutex_timedlock(pthread_mutex_t *mutexp, const struct timespec *abs)
220 pthread_mutex_lock(pthread_mutex_t *mutex
[all...]
/openbsd-current/lib/libcrypto/arc4random/
H A Darc4random_aix.h31 static pthread_mutex_t arc4random_mtx = PTHREAD_MUTEX_INITIALIZER;
H A Darc4random_freebsd.h31 static pthread_mutex_t arc4random_mtx = PTHREAD_MUTEX_INITIALIZER;
H A Darc4random_hpux.h31 static pthread_mutex_t arc4random_mtx = PTHREAD_MUTEX_INITIALIZER;

Completed in 370 milliseconds

1234