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.c | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'sync.c') diff --git a/sync.c b/sync.c index 913469a0..c6003afc 100644 --- a/sync.c +++ b/sync.c @@ -53,25 +53,3 @@ SyncObjExit(pthread_mutex_t **mut) *mut = NULL; } } - -#ifndef NDEBUG -/* lock an object. The synchronization tool (mutex) must be passed in. - */ -void -lockObj(pthread_mutex_t *mut) -{ - BEGINfunc - d_pthread_mutex_lock(mut); - ENDfunc -} - -/* unlock an object. The synchronization tool (mutex) must be passed in. - */ -void -unlockObj(pthread_mutex_t *mut) -{ - BEGINfunc - d_pthread_mutex_unlock(mut); - ENDfunc -} -#endif /* #ifndef NDEBUG */ -- cgit