diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-12-11 16:41:07 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-12-11 16:41:07 +0000 |
commit | 71d69002c6899845b8f5326ab5cf2f5aef691668 (patch) | |
tree | 13aeff4e2e4d1bb47da32f3f4d4136fba55926ce /sync.c | |
parent | 433ba4b2ae39c2ef7264c4beacea213fd20c2bc5 (diff) | |
download | rsyslog-71d69002c6899845b8f5326ab5cf2f5aef691668.tar.gz rsyslog-71d69002c6899845b8f5326ab5cf2f5aef691668.tar.xz rsyslog-71d69002c6899845b8f5326ab5cf2f5aef691668.zip |
optimized mutex macros
Diffstat (limited to 'sync.c')
-rw-r--r-- | sync.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -57,6 +57,7 @@ SyncObjExit(pthread_mutex_t **mut) } } +#ifndef NDEBUG /* lock an object. The synchronization tool (mutex) must be passed in. */ void @@ -72,5 +73,6 @@ unlockObj(pthread_mutex_t *mut) { pthread_mutex_unlock(mut); } +#endif /* #ifndef NDEBUG */ #endif /* #ifdef USE_PTHREADS */ |