summaryrefslogtreecommitdiffstats
path: root/runtime/wti.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-06-19 12:03:56 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-06-19 12:03:56 +0200
commit7a695d171436fe249770e8256ae48cd4ed86fd30 (patch)
treeb1c7228482cce6e65fd9d72a4488290ecbed11e2 /runtime/wti.h
parentdd53709083f3671ac711d5d2cb03bfd9c80a7cf3 (diff)
downloadrsyslog-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/wti.h')
-rw-r--r--runtime/wti.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/wti.h b/runtime/wti.h
index 6b60b833..72653b15 100644
--- a/runtime/wti.h
+++ b/runtime/wti.h
@@ -31,14 +31,13 @@
/* the worker thread instance class */
typedef struct wti_s {
BEGINobjInstance;
- int bOptimizeUniProc; /* cache for the equally-named global setting, pulled at time of queue creation */
pthread_t thrdID; /* thread ID */
qWrkCmd_t tCurrCmd; /* current command to be carried out by worker */
obj_t *pUsrp; /* pointer to an object meaningful for current user pointer (e.g. queue pUsr data elemt) */
wtp_t *pWtp; /* my worker thread pool (important if only the work thread instance is passed! */
pthread_cond_t condExitDone; /* signaled when the thread exit is done (once per thread existance) */
pthread_mutex_t mut;
- int bShutdownRqtd; /* shutdown for this thread requested? 0 - no , 1 - yes */
+ bool bShutdownRqtd; /* shutdown for this thread requested? 0 - no , 1 - yes */
uchar *pszDbgHdr; /* header string for debug messages */
} wti_t;