version 1.17, 2013/04/12 18:12:58 |
version 1.18, 2015/01/20 18:31:25 |
|
|
|
|
#else /* _REENTRANT */ |
#else /* _REENTRANT */ |
|
|
#define mutex_init(m, a) |
#ifndef __empty |
#define mutex_lock(m) |
#define __empty do {} while (/*CONSTCOND*/0) |
#define mutex_trylock(m) |
#endif |
#define mutex_unlock(m) |
#define mutex_init(m, a) __empty |
#define mutex_destroy(m) |
#define mutex_lock(m) __empty |
|
#define mutex_trylock(m) __empty |
#define cond_init(c, t, a) |
#define mutex_unlock(m) __empty |
#define cond_signal(c) |
#define mutex_destroy(m) __empty |
#define cond_broadcast(c) |
|
#define cond_wait(c, m) |
#define cond_init(c, t, a) __empty |
#define cond_timedwait(c, m, t) |
#define cond_signal(c) __empty |
#define cond_destroy(c) |
#define cond_broadcast(c) __empty |
|
#define cond_wait(c, m) __empty |
#define rwlock_init(l, a) |
#define cond_timedwait(c, m, t) __empty |
#define rwlock_rdlock(l) |
#define cond_destroy(c) __empty |
#define rwlock_wrlock(l) |
|
#define rwlock_tryrdlock(l) |
#define rwlock_init(l, a) __empty |
#define rwlock_trywrlock(l) |
#define rwlock_rdlock(l) __empty |
#define rwlock_unlock(l) |
#define rwlock_wrlock(l) __empty |
#define rwlock_destroy(l) |
#define rwlock_tryrdlock(l) __empty |
|
#define rwlock_trywrlock(l) __empty |
#define thr_keycreate(k, d) |
#define rwlock_unlock(l) __empty |
#define thr_setspecific(k, p) |
#define rwlock_destroy(l) __empty |
#define thr_getspecific(k) |
|
#define thr_keydelete(k) |
#define thr_keycreate(k, d) /*LINTED*/0 |
|
#define thr_setspecific(k, p) __empty |
|
#define thr_getspecific(k) /*LINTED*/0 |
|
#define thr_keydelete(k) __empty |
|
|
|
#define mutexattr_init(ma) __empty |
|
#define mutexattr_settype(ma, t) __empty |
|
#define mutexattr_destroy(ma) __empty |
|
|
static inline int |
static inline int |
thr_once(once_t *once_control, void (*routine)(void)) |
thr_once(once_t *once_control, void (*routine)(void)) |
Line 313 thr_once(once_t *once_control, void (*ro |
|
Line 320 thr_once(once_t *once_control, void (*ro |
|
} |
} |
return 0; |
return 0; |
} |
} |
#define thr_sigsetmask(f, n, o) |
#define thr_sigsetmask(f, n, o) __empty |
#define thr_self() |
#define thr_self() __empty |
#define thr_errno() |
#define thr_errno() __empty |
#define thr_curcpu() ((unsigned int)0) |
#define thr_curcpu() ((unsigned int)0) |
|
|
#define FLOCKFILE(fp) |
#define FLOCKFILE(fp) __empty |
#define FUNLOCKFILE(fp) |
#define FUNLOCKFILE(fp) __empty |
|
|
#endif /* _REENTRANT */ |
#endif /* _REENTRANT */ |