Searched refs:__isthreaded (Results 1 - 12 of 12) sorted by relevance

/macosx-10.10.1/Libc-1044.1.2/fbsdcompat/
H A Dreentrant.h104 #define mutex_lock(m) if (__isthreaded) \
106 #define mutex_unlock(m) if (__isthreaded) \
108 #define mutex_trylock(m) (__isthreaded ? 0 : _pthread_mutex_trylock(m))
111 #define cond_signal(m) if (__isthreaded) \
113 #define cond_broadcast(m) if (__isthreaded) \
115 #define cond_wait(c, m) if (__isthreaded) \
119 #define rwlock_rdlock(l) if (__isthreaded) \
121 #define rwlock_wrlock(l) if (__isthreaded) \
123 #define rwlock_unlock(l) if (__isthreaded) \
H A D_fbsd_compat_.h38 #define __isthreaded 1 macro
/macosx-10.10.1/Libc-1044.1.2/gen/FreeBSD/
H A Dseekdir.c54 if (__isthreaded)
57 if (__isthreaded)
H A Dclosedir.c56 if (__isthreaded)
66 if (__isthreaded) {
H A Dtelldir.c67 if (__isthreaded)
80 if (__isthreaded)
87 if (__isthreaded)
101 if (__isthreaded)
H A Dreaddir.c96 if (__isthreaded) {
117 if (__isthreaded) {
H A Darc4random.c63 if (__isthreaded) \
69 if (__isthreaded) \
H A Dpopen.c91 #define THREAD_LOCK() if (__isthreaded) _pthread_mutex_lock(&pidlist_mutex)
92 #define THREAD_UNLOCK() if (__isthreaded) _pthread_mutex_unlock(&pidlist_mutex)
H A Dttyname.c71 if (__isthreaded == 0)
/macosx-10.10.1/Libc-1044.1.2/stdlib/FreeBSD/
H A Datexit.c70 #define _MUTEX_LOCK(x) if (__isthreaded) _pthread_mutex_lock(x)
71 #define _MUTEX_UNLOCK(x) if (__isthreaded) _pthread_mutex_unlock(x)
/macosx-10.10.1/Libc-1044.1.2/gdtoa/FreeBSD/
H A Dgdtoaimp.h544 if (__isthreaded) _SPINLOCK(&__gdtoa_locks[n]); \
547 if (__isthreaded) _SPINUNLOCK(&__gdtoa_locks[n]); \
/macosx-10.10.1/Libc-1044.1.2/stdtime/FreeBSD/
H A Dlocaltime.c48 #define _MUTEX_LOCK(x) if (__isthreaded) _pthread_mutex_lock(x)
49 #define _MUTEX_UNLOCK(x) if (__isthreaded) _pthread_mutex_unlock(x)
53 if (__isthreaded) _pthread_rwlock_rdlock(x); \
58 if (__isthreaded) _pthread_rwlock_wrlock(x); \
63 if (__isthreaded) _pthread_rwlock_unlock(x); \
1524 if (__isthreaded != 0) {
1662 if (__isthreaded != 0) {

Completed in 114 milliseconds