diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-06-19 12:03:56 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-06-19 12:03:56 +0200 |
commit | 7a695d171436fe249770e8256ae48cd4ed86fd30 (patch) | |
tree | b1c7228482cce6e65fd9d72a4488290ecbed11e2 /runtime/wtp.h | |
parent | dd53709083f3671ac711d5d2cb03bfd9c80a7cf3 (diff) | |
download | rsyslog-7a695d171436fe249770e8256ae48cd4ed86fd30.tar.gz rsyslog-7a695d171436fe249770e8256ae48cd4ed86fd30.tar.xz rsyslog-7a695d171436fe249770e8256ae48cd4ed86fd30.zip |
removed uniprocessor optimization
... as it was not even optimal on uniprocessors any longer ;) I keep
the config directive in, maybe we can utilize it again at some later
point in time (questionable).
Diffstat (limited to 'runtime/wtp.h')
-rw-r--r-- | runtime/wtp.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/wtp.h b/runtime/wtp.h index b9cb07c5..1ce171cc 100644 --- a/runtime/wtp.h +++ b/runtime/wtp.h @@ -52,13 +52,12 @@ typedef enum { /* the worker thread pool (wtp) object */ typedef struct wtp_s { BEGINobjInstance; - int bOptimizeUniProc; /* cache for the equally-named global setting, pulled at time of queue creation */ wtpState_t wtpState; int iNumWorkerThreads;/* number of worker threads to use */ int iCurNumWrkThrd;/* current number of active worker threads */ struct wti_s **pWrkr;/* array with control structure for the worker thread(s) associated with this wtp */ int toWrkShutdown; /* timeout for idle workers in ms, -1 means indefinite (0 is immediate) */ - int bInactivityGuard;/* prevents inactivity due to race condition */ + bool bInactivityGuard;/* prevents inactivity due to race condition */ rsRetVal (*pConsumer)(void *); /* user-supplied consumer function for dewtpd messages */ /* synchronization variables */ pthread_mutex_t mutThrdShutdwn; /* mutex to guard thread shutdown processing */ |