summaryrefslogtreecommitdiffstats
path: root/runtime/wtp.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-03-26 17:51:17 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2009-03-26 17:51:17 +0100
commit4989036e70a8538568d672602c96d828970df033 (patch)
treeaab0d1d05452efb2034f09878b2eef5e1bc8706e /runtime/wtp.h
parent0be199af6cc2cd9a9acb96e97e1cd061affaa6d9 (diff)
parent611b3364491cf30dc866932a053ae925e1f182ac (diff)
downloadrsyslog-4989036e70a8538568d672602c96d828970df033.tar.gz
rsyslog-4989036e70a8538568d672602c96d828970df033.tar.xz
rsyslog-4989036e70a8538568d672602c96d828970df033.zip
Merge branch 'master' into tests
Conflicts: ChangeLog
Diffstat (limited to 'runtime/wtp.h')
-rw-r--r--runtime/wtp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/wtp.h b/runtime/wtp.h
index 88d88afd..b9cb07c5 100644
--- a/runtime/wtp.h
+++ b/runtime/wtp.h
@@ -61,6 +61,7 @@ typedef struct wtp_s {
int 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 */
pthread_mutex_t mut; /* mutex for the wtp's thread management */
pthread_cond_t condThrdTrm;/* signalled when threads terminate */
int bThrdStateChanged; /* at least one thread state has changed if 1 */