suricata
|
Go to the source code of this file.
Macros | |
#define | SCMutexLock_dbg(mut) |
#define | SCMutexTrylock_dbg(mut) |
#define | SCMutexInit_dbg(mut, mutattr) |
#define | SCMutexUnlock_dbg(mut) |
#define | SCMutex pthread_mutex_t |
#define | SCMutexAttr pthread_mutexattr_t |
#define | SCMutexInit(mut, mutattrs) SCMutexInit_dbg(mut, mutattrs) |
#define | SCMutexLock(mut) SCMutexLock_dbg(mut) |
#define | SCMutexTrylock(mut) SCMutexTrylock_dbg(mut) |
#define | SCMutexUnlock(mut) SCMutexUnlock_dbg(mut) |
#define | SCMutexDestroy pthread_mutex_destroy |
#define | SCMUTEX_INITIALIZER PTHREAD_MUTEX_INITIALIZER |
#define | SCCondWait_dbg(cond, mut) |
#define | SCCondT pthread_cond_t |
#define | SCCondInit pthread_cond_init |
#define | SCCondSignal pthread_cond_signal |
#define | SCCondDestroy pthread_cond_destroy |
#define | SCCondWait SCCondWait_dbg |
#define | SCSpinLock_dbg(spin) |
#define | SCSpinTrylock_dbg(spin) |
#define | SCSpinUnlock_dbg(spin) |
#define | SCSpinInit_dbg(spin, spin_attr) |
#define | SCSpinDestroy_dbg(spin) |
#define | SCSpinlock pthread_spinlock_t |
#define | SCSpinLock SCSpinLock_dbg |
#define | SCSpinTrylock SCSpinTrylock_dbg |
#define | SCSpinUnlock SCSpinUnlock_dbg |
#define | SCSpinInit SCSpinInit_dbg |
#define | SCSpinDestroy SCSpinDestroy_dbg |
#define | SCRWLockRDLock_dbg(rwl) |
#define | SCRWLockWRLock_dbg(rwl) |
#define | SCRWLockTryWRLock_dbg(rwl) |
#define | SCRWLockTryRDLock_dbg(rwl) |
#define | SCRWLockInit_dbg(rwl, rwlattr) |
#define | SCRWLockUnlock_dbg(rwl) |
#define | SCRWLock pthread_rwlock_t |
#define | SCRWLockInit(rwl, rwlattrs) SCRWLockInit_dbg(rwl, rwlattrs) |
#define | SCRWLockRDLock(rwl) SCRWLockRDLock_dbg(rwl) |
#define | SCRWLockWRLock(rwl) SCRWLockWRLock_dbg(rwl) |
#define | SCRWLockTryWRLock(rwl) SCRWLockTryWRLock_dbg(rwl) |
#define | SCRWLockTryRDLock(rwl) SCRWLockTryRDLock_dbg(rwl) |
#define | SCRWLockUnlock(rwl) SCRWLockUnlock_dbg(rwl) |
#define | SCRWLockDestroy pthread_rwlock_destroy |
#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 |
Threading functions defined as macros: debug variants
Definition in file threads-debug.h.
#define SCCondDestroy pthread_cond_destroy |
Definition at line 141 of file threads-debug.h.
#define SCCondInit pthread_cond_init |
Definition at line 139 of file threads-debug.h.
#define SCCondSignal pthread_cond_signal |
Definition at line 140 of file threads-debug.h.
#define SCCondT pthread_cond_t |
Definition at line 138 of file threads-debug.h.
#define SCCondWait SCCondWait_dbg |
Definition at line 142 of file threads-debug.h.
#define SCCondWait_dbg | ( | cond, | |
mut | |||
) |
Definition at line 126 of file threads-debug.h.
#define SCCtrlCondDestroy pthread_cond_destroy |
Definition at line 388 of file threads-debug.h.
#define SCCtrlCondInit pthread_cond_init |
Definition at line 384 of file threads-debug.h.
#define SCCtrlCondSignal pthread_cond_signal |
Definition at line 385 of file threads-debug.h.
#define SCCtrlCondT pthread_cond_t |
Definition at line 383 of file threads-debug.h.
#define SCCtrlCondTimedwait pthread_cond_timedwait |
Definition at line 386 of file threads-debug.h.
#define SCCtrlCondWait pthread_cond_wait |
Definition at line 387 of file threads-debug.h.
#define SCCtrlMutex pthread_mutex_t |
Definition at line 374 of file threads-debug.h.
#define SCCtrlMutexAttr pthread_mutexattr_t |
Definition at line 375 of file threads-debug.h.
#define SCCtrlMutexDestroy pthread_mutex_destroy |
Definition at line 380 of file threads-debug.h.
#define SCCtrlMutexInit | ( | mut, | |
mutattr | |||
) | pthread_mutex_init(mut, mutattr) |
Definition at line 376 of file threads-debug.h.
#define SCCtrlMutexLock | ( | mut | ) | pthread_mutex_lock(mut) |
Definition at line 377 of file threads-debug.h.
#define SCCtrlMutexTrylock | ( | mut | ) | pthread_mutex_trylock(mut) |
Definition at line 378 of file threads-debug.h.
#define SCCtrlMutexUnlock | ( | mut | ) | pthread_mutex_unlock(mut) |
Definition at line 379 of file threads-debug.h.
#define SCMutex pthread_mutex_t |
Definition at line 115 of file threads-debug.h.
#define SCMUTEX_INITIALIZER PTHREAD_MUTEX_INITIALIZER |
Definition at line 122 of file threads-debug.h.
#define SCMutexAttr pthread_mutexattr_t |
Definition at line 116 of file threads-debug.h.
#define SCMutexDestroy pthread_mutex_destroy |
Definition at line 121 of file threads-debug.h.
#define SCMutexInit | ( | mut, | |
mutattrs | |||
) | SCMutexInit_dbg(mut, mutattrs) |
Definition at line 117 of file threads-debug.h.
#define SCMutexInit_dbg | ( | mut, | |
mutattr | |||
) |
Definition at line 76 of file threads-debug.h.
#define SCMutexLock | ( | mut | ) | SCMutexLock_dbg(mut) |
Definition at line 118 of file threads-debug.h.
#define SCMutexLock_dbg | ( | mut | ) |
When dbg threads is defined, if a mutex fail to lock, it's initialized, logged, and does a second try; This is to prevent the system to freeze; It is for Mac OS X users; If you see a mutex, spinlock or condition not initialized, report it please!
Definition at line 38 of file threads-debug.h.
#define SCMutexTrylock | ( | mut | ) | SCMutexTrylock_dbg(mut) |
Definition at line 119 of file threads-debug.h.
#define SCMutexTrylock_dbg | ( | mut | ) |
Definition at line 59 of file threads-debug.h.
#define SCMutexUnlock | ( | mut | ) | SCMutexUnlock_dbg(mut) |
Definition at line 120 of file threads-debug.h.
#define SCMutexUnlock_dbg | ( | mut | ) |
Definition at line 98 of file threads-debug.h.
#define SCRWLock pthread_rwlock_t |
Definition at line 364 of file threads-debug.h.
#define SCRWLockDestroy pthread_rwlock_destroy |
Definition at line 371 of file threads-debug.h.
#define SCRWLockInit | ( | rwl, | |
rwlattrs | |||
) | SCRWLockInit_dbg(rwl, rwlattrs) |
Definition at line 365 of file threads-debug.h.
#define SCRWLockInit_dbg | ( | rwl, | |
rwlattr | |||
) |
Definition at line 325 of file threads-debug.h.
#define SCRWLockRDLock | ( | rwl | ) | SCRWLockRDLock_dbg(rwl) |
Definition at line 366 of file threads-debug.h.
#define SCRWLockRDLock_dbg | ( | rwl | ) |
When dbg threads is defined, if a rwlock fail to lock, it's initialized, logged, and does a second try; This is to prevent the system to freeze; If you see a rwlock, spinlock or condition not initialized, report it please!
Definition at line 248 of file threads-debug.h.
#define SCRWLockTryRDLock | ( | rwl | ) | SCRWLockTryRDLock_dbg(rwl) |
Definition at line 369 of file threads-debug.h.
#define SCRWLockTryRDLock_dbg | ( | rwl | ) |
Definition at line 308 of file threads-debug.h.
#define SCRWLockTryWRLock | ( | rwl | ) | SCRWLockTryWRLock_dbg(rwl) |
Definition at line 368 of file threads-debug.h.
#define SCRWLockTryWRLock_dbg | ( | rwl | ) |
Definition at line 291 of file threads-debug.h.
#define SCRWLockUnlock | ( | rwl | ) | SCRWLockUnlock_dbg(rwl) |
Definition at line 370 of file threads-debug.h.
#define SCRWLockUnlock_dbg | ( | rwl | ) |
Definition at line 347 of file threads-debug.h.
#define SCRWLockWRLock | ( | rwl | ) | SCRWLockWRLock_dbg(rwl) |
Definition at line 367 of file threads-debug.h.
#define SCRWLockWRLock_dbg | ( | rwl | ) |
Definition at line 269 of file threads-debug.h.
#define SCSpinDestroy SCSpinDestroy_dbg |
Definition at line 240 of file threads-debug.h.
#define SCSpinDestroy_dbg | ( | spin | ) |
Definition at line 214 of file threads-debug.h.
#define SCSpinInit SCSpinInit_dbg |
Definition at line 239 of file threads-debug.h.
#define SCSpinInit_dbg | ( | spin, | |
spin_attr | |||
) |
Definition at line 194 of file threads-debug.h.
#define SCSpinlock pthread_spinlock_t |
Definition at line 235 of file threads-debug.h.
#define SCSpinLock SCSpinLock_dbg |
Definition at line 236 of file threads-debug.h.
#define SCSpinLock_dbg | ( | spin | ) |
Definition at line 146 of file threads-debug.h.
#define SCSpinTrylock SCSpinTrylock_dbg |
Definition at line 237 of file threads-debug.h.
#define SCSpinTrylock_dbg | ( | spin | ) |
Definition at line 161 of file threads-debug.h.
#define SCSpinUnlock SCSpinUnlock_dbg |
Definition at line 238 of file threads-debug.h.
#define SCSpinUnlock_dbg | ( | spin | ) |
Definition at line 179 of file threads-debug.h.