summaryrefslogtreecommitdiffstats
path: root/runtime/wtp.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-07-16 12:42:45 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-07-16 12:42:45 +0200
commitcb7f903730f097ebaa02dd12b3280a11e79b256b (patch)
treeef3ffa46de2b1f71c98245e61407f94349573e88 /runtime/wtp.h
parent65a449ded48ead4501bb7cb9ba7818124ad2f5e4 (diff)
downloadrsyslog-cb7f903730f097ebaa02dd12b3280a11e79b256b.tar.gz
rsyslog-cb7f903730f097ebaa02dd12b3280a11e79b256b.tar.xz
rsyslog-cb7f903730f097ebaa02dd12b3280a11e79b256b.zip
some code simplification
Diffstat (limited to 'runtime/wtp.h')
-rw-r--r--runtime/wtp.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/runtime/wtp.h b/runtime/wtp.h
index 3afefc2a..6b4054b8 100644
--- a/runtime/wtp.h
+++ b/runtime/wtp.h
@@ -31,12 +31,11 @@
typedef enum {
eWRKTHRD_STOPPED = 0, /* worker thread is not running (either actually never ran or was shut down) */
/* ALL active states MUST be numerically higher than eWRKTHRD_TERMINATED and NONE must be lower! */
- eWRKTHRD_RUN_CREATED = 2,/* worker thread has been created, but not yet begun initialization (prob. not yet scheduled) */
- eWRKTHRD_RUN_INIT = 3, /* worker thread is initializing, but not yet fully running */
+ eWRKTHRD_RUN_CREATED = 2,/* worker thread has been created, but is not fully running (prob. not yet scheduled) */
eWRKTHRD_RUNNING = 4, /* worker thread is up and running and shall continue to do so */
eWRKTHRD_SHUTDOWN = 5, /* worker thread is running but shall terminate when wtp is empty */
eWRKTHRD_SHUTDOWN_IMMEDIATE = 6/* worker thread is running but shall terminate even if wtp is full */
- /* SHUTDOWN_IMMEDIATE MUST alsways be the numerically highest state! */
+ /* SHUTDOWN_IMMEDIATE MUST always be the numerically highest state! */
} qWrkCmd_t;