summaryrefslogtreecommitdiffstats
path: root/sync.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-01-29 09:13:59 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-01-29 09:13:59 +0000
commit33a8ec9855b7e7674ab2b1a6e4814b08652296de (patch)
treebb15bd7523a4b95075b7d2d5b92b42b844d5e562 /sync.h
parent8b73362a4a88aaa3642db398d17e65eab871d9ed (diff)
downloadrsyslog-33a8ec9855b7e7674ab2b1a6e4814b08652296de.tar.gz
rsyslog-33a8ec9855b7e7674ab2b1a6e4814b08652296de.tar.xz
rsyslog-33a8ec9855b7e7674ab2b1a6e4814b08652296de.zip
- moved correct retry logic into action processing queue
- removed debugging support from sync class, debug class now provides much more
Diffstat (limited to 'sync.h')
-rw-r--r--sync.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/sync.h b/sync.h
index 204737dc..33e2658d 100644
--- a/sync.h
+++ b/sync.h
@@ -38,13 +38,8 @@
* operations. If we run in debug mode, we use functions, because they
* are better to trace in the stackframe.
*/
-#ifdef NDEBUG
#define LockObj(x) d_pthread_mutex_lock((x)->Sync_mut)
#define UnlockObj(x) d_pthread_mutex_unlock((x)->Sync_mut)
-#else
-#define LockObj(x) lockObj((x)->Sync_mut)
-#define UnlockObj(x) unlockObj((x)->Sync_mut)
-#endif
void SyncObjInit(pthread_mutex_t **mut);
void SyncObjExit(pthread_mutex_t **mut);