|
#define | THREAD_NAME_LEN 16 |
|
#define | SCMutex pthread_mutex_t |
|
#define | SCMutexAttr pthread_mutexattr_t |
|
#define | SCMutexInit(mut, mutattr) pthread_mutex_init(mut, mutattr) |
|
#define | SCMutexLock(mut) pthread_mutex_lock(mut) |
|
#define | SCMutexTrylock(mut) pthread_mutex_trylock(mut) |
|
#define | SCMutexUnlock(mut) pthread_mutex_unlock(mut) |
|
#define | SCMutexDestroy pthread_mutex_destroy |
|
#define | SCMUTEX_INITIALIZER PTHREAD_MUTEX_INITIALIZER |
|
#define | SCRWLock pthread_rwlock_t |
|
#define | SCRWLockInit(rwl, rwlattr) pthread_rwlock_init(rwl, rwlattr) |
|
#define | SCRWLockWRLock(rwl) pthread_rwlock_wrlock(rwl) |
|
#define | SCRWLockRDLock(rwl) pthread_rwlock_rdlock(rwl) |
|
#define | SCRWLockTryWRLock(rwl) pthread_rwlock_trywrlock(rwl) |
|
#define | SCRWLockTryRDLock(rwl) pthread_rwlock_tryrdlock(rwl) |
|
#define | SCRWLockUnlock(rwl) pthread_rwlock_unlock(rwl) |
|
#define | SCRWLockDestroy pthread_rwlock_destroy |
|
#define | SCCondT pthread_cond_t |
|
#define | SCCondInit pthread_cond_init |
|
#define | SCCondSignal pthread_cond_signal |
|
#define | SCCondDestroy pthread_cond_destroy |
|
#define | SCCondWait(cond, mut) pthread_cond_wait(cond, mut) |
|
#define | SCCtrlMutex pthread_mutex_t |
|
#define | SCCtrlMutexAttr pthread_mutexattr_t |
|
#define | SCCtrlMutexInit(mut, mutattr) pthread_mutex_init(mut, mutattr) |
|
#define | SCCtrlMutexLock(mut) pthread_mutex_lock(mut) |
|
#define | SCCtrlMutexTrylock(mut) pthread_mutex_trylock(mut) |
|
#define | SCCtrlMutexUnlock(mut) pthread_mutex_unlock(mut) |
|
#define | SCCtrlMutexDestroy pthread_mutex_destroy |
|
#define | SCCtrlCondT pthread_cond_t |
|
#define | SCCtrlCondInit pthread_cond_init |
|
#define | SCCtrlCondSignal pthread_cond_signal |
|
#define | SCCtrlCondTimedwait pthread_cond_timedwait |
|
#define | SCCtrlCondWait pthread_cond_wait |
|
#define | SCCtrlCondDestroy pthread_cond_destroy |
|
#define | SCSpinlock SCMutex |
|
#define | SCSpinLock(spin) SCMutexLock((spin)) |
|
#define | SCSpinTrylock(spin) SCMutexTrylock((spin)) |
|
#define | SCSpinUnlock(spin) SCMutexUnlock((spin)) |
|
#define | SCSpinInit(spin, spin_attr) SCMutexInit((spin), NULL) |
|
#define | SCSpinDestroy(spin) SCMutexDestroy((spin)) |
|
#define | SCGetThreadIdLong(...) |
|
#define | SCSetThreadName(n) |
|