diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-10 17:33:21 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-10 17:33:21 +0000 |
commit | 68efb41220a834870681f293481655ed47e7b197 (patch) | |
tree | 7d86bb0fa5c08a02079f406267dff0bf49795a80 /threads.h | |
parent | 41f386f6abeff1577812a58ccd1d416a5389a85b (diff) | |
download | rsyslog-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.h | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -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 */ |