Searched refs:__isthreaded (Results 1 – 25 of 35) sorted by relevance
12
98 #define mutex_lock(m) if (__isthreaded) \100 #define mutex_unlock(m) if (__isthreaded) \102 #define mutex_trylock(m) (__isthreaded ? 0 : _pthread_mutex_trylock(m))105 #define cond_signal(m) if (__isthreaded) \107 #define cond_broadcast(m) if (__isthreaded) \109 #define cond_wait(c, m) if (__isthreaded) \113 #define rwlock_rdlock(l) if (__isthreaded) \115 #define rwlock_wrlock(l) if (__isthreaded) \117 #define rwlock_unlock(l) if (__isthreaded) \
57 extern int __isthreaded;95 #define FLOCKFILE(fp) if (__isthreaded) _FLOCKFILE(fp)96 #define FUNLOCKFILE(fp) if (__isthreaded) _funlockfile(fp)102 if (__isthreaded) \107 if (__isthreaded) \
57 if (!__isthreaded || _pthread_main_np() != 0) { \
53 if (__isthreaded) in set_constraint_handler_s()57 if (__isthreaded) in set_constraint_handler_s()73 if (__isthreaded) in __throw_constraint_handler_s()76 if (__isthreaded) in __throw_constraint_handler_s()
76 if (__isthreaded) in __libc_system()88 if (__isthreaded) in __libc_system()124 if (__isthreaded) in __libc_system()132 if (__isthreaded) in __libc_system()
63 #define _MUTEX_LOCK(x) if (__isthreaded) _pthread_mutex_lock(x)64 #define _MUTEX_UNLOCK(x) if (__isthreaded) _pthread_mutex_unlock(x)65 #define _MUTEX_DESTROY(x) if (__isthreaded) _pthread_mutex_destroy(x)
98 if (__isthreaded) in readdir()101 if (__isthreaded) in readdir()114 if (__isthreaded) in __readdir_r()119 if (__isthreaded) in __readdir_r()
49 if (__isthreaded) in seekdir()52 if (__isthreaded) in seekdir()
46 if (__isthreaded) in rewinddir()57 if (__isthreaded) in rewinddir()
52 if (__isthreaded) in fdclosedir()60 if (__isthreaded) { in fdclosedir()
54 if (__isthreaded) in telldir()85 if (__isthreaded) in telldir()105 if (__isthreaded) in telldir()
60 if (__isthreaded) \66 if (__isthreaded) \
72 if (__isthreaded) in freebsd11_readdir()85 if (__isthreaded) in freebsd11_readdir()
60 #define THREAD_LOCK() if (__isthreaded) _pthread_mutex_lock(&pidlist_mutex)61 #define THREAD_UNLOCK() if (__isthreaded) _pthread_mutex_unlock(&pidlist_mutex)
60 if (__isthreaded) in _once()
73 if (__isthreaded) _pthread_mutex_lock(&syslog_mutex); \77 if (__isthreaded) _pthread_mutex_unlock(&syslog_mutex); \
31 #define WLOCK(lock) if (__isthreaded) \33 #define UNLOCK(lock) if (__isthreaded) \
495 extern int __isthreaded;506 #define feof(p) (!__isthreaded ? __sfeof(p) : (feof)(p))507 #define ferror(p) (!__isthreaded ? __sferror(p) : (ferror)(p))508 #define clearerr(p) (!__isthreaded ? __sclearerr(p) : (clearerr)(p))510 #define getc(fp) (!__isthreaded ? __sgetc(fp) : (getc)(fp))511 #define putc(x, fp) (!__isthreaded ? __sputc(x, fp) : (putc)(x, fp))
118 if (__isthreaded && in svc_nl_create()269 msg->rm_xid = __isthreaded ? in svc_nl_reply()329 if (!__isthreaded) { in svc_nl_control()
107 extern int __isthreaded;108 #define isthreaded ((bool)__isthreaded)
60 if (__isthreaded) { in fileno()
65 if (__isthreaded && \71 if (__isthreaded && \76 #define UNLOCK { if (__isthreaded) \
124 #define __isthreaded 1 macro129 if (__isthreaded) pthread_mutex_lock(&xo_syslog_mutex); \133 if (__isthreaded) pthread_mutex_unlock(&xo_syslog_mutex); \
23 extern int __isthreaded;68 if (__isthreaded && !pthread_main_np()) { in tacplus_get_handle()
63 if (!__isthreaded || _pthread_main_np()) \72 (!__isthreaded || _pthread_main_np() ? \