diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-03-25 17:21:56 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-03-25 17:21:56 +0100 |
commit | 611b3364491cf30dc866932a053ae925e1f182ac (patch) | |
tree | 1318d02e01c72ce8e3e869e6b8977f45477ae100 /runtime/wtp.h | |
parent | 7269efe60a2071e17f68f96b6416acaefeb7068d (diff) | |
parent | 6ffb9010811ee9bc0c3703716443c4dd00922f6f (diff) | |
download | rsyslog-611b3364491cf30dc866932a053ae925e1f182ac.tar.gz rsyslog-611b3364491cf30dc866932a053ae925e1f182ac.tar.xz rsyslog-611b3364491cf30dc866932a053ae925e1f182ac.zip |
Merge branch 'dapatch'
Diffstat (limited to 'runtime/wtp.h')
-rw-r--r-- | runtime/wtp.h | 1 |
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 */ |