From 33a8ec9855b7e7674ab2b1a6e4814b08652296de Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Tue, 29 Jan 2008 09:13:59 +0000 Subject: - moved correct retry logic into action processing queue - removed debugging support from sync class, debug class now provides much more --- sync.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'sync.h') 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); -- cgit