summaryrefslogtreecommitdiffstats
path: root/threads.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-01-10 17:33:21 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-01-10 17:33:21 +0000
commit68efb41220a834870681f293481655ed47e7b197 (patch)
tree7d86bb0fa5c08a02079f406267dff0bf49795a80 /threads.h
parent41f386f6abeff1577812a58ccd1d416a5389a85b (diff)
downloadrsyslog-68efb41220a834870681f293481655ed47e7b197.tar.gz
rsyslog-68efb41220a834870681f293481655ed47e7b197.tar.xz
rsyslog-68efb41220a834870681f293481655ed47e7b197.zip
- some cleanup
- implemented management function for worker thread 0 in order to change queue workers dynamically -- stage work
Diffstat (limited to 'threads.h')
-rw-r--r--threads.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/threads.h b/threads.h
index dc937def..aa6a5c28 100644
--- a/threads.h
+++ b/threads.h
@@ -43,11 +43,5 @@ rsRetVal thrdCreate(rsRetVal (*thrdMain)(thrdInfo_t*), rsRetVal(*afterRun)(thrdI
rsRetVal thrdSleep(thrdInfo_t *pThis, int iSeconds, int iuSeconds);
/* macros (replace inline functions) */
-/*TODO: remove these macros once we now we can live without -- rgerhards, 2007-12-20
- * #define thrdBlockTermination(pThis) {dbgprintf("lock mutex\n"); pthread_mutex_lock((pThis)->mutTermOK) ;}
- * #define thrdUnblockTermination(pThis) {dbgprintf("unlock mutex\n"); pthread_mutex_unlock((pThis)->mutTermOK) ;}
- */
-#define thrdBlockTermination(pThis)
-#define thrdUnblockTermination(pThis)
#endif /* #ifndef THREADS_H_INCLUDED */