summaryrefslogtreecommitdiffstats
path: root/runtime/wtp.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-07-08 18:12:05 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-07-08 18:12:05 +0200
commit4cfbc7254a49503a3c980a1b20264915d6b3b807 (patch)
tree29c6fb1789588760b8c68b48ba2617b90262ac52 /runtime/wtp.h
parent9f286c0c4c21128c66305166ae379d3f7b07f673 (diff)
downloadrsyslog-4cfbc7254a49503a3c980a1b20264915d6b3b807.tar.gz
rsyslog-4cfbc7254a49503a3c980a1b20264915d6b3b807.tar.xz
rsyslog-4cfbc7254a49503a3c980a1b20264915d6b3b807.zip
simplified worker thread handling
based on now working with detached threads. This is probably the biggest patch in this series and with large bug potential.
Diffstat (limited to 'runtime/wtp.h')
-rw-r--r--runtime/wtp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/wtp.h b/runtime/wtp.h
index ef61d7e6..03bc538f 100644
--- a/runtime/wtp.h
+++ b/runtime/wtp.h
@@ -30,7 +30,7 @@
/* commands and states for worker threads. */
typedef enum {
eWRKTHRD_STOPPED = 0, /* worker thread is not running (either actually never ran or was shut down) */
- eWRKTHRD_TERMINATING = 1,/* worker thread has shut down, but some finalzing is still needed */
+ //eWRKTHRD_TERMINATING = 1,/* worker thread has shut down, but some finalzing is still needed */
/* 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 */