diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-04-02 13:04:09 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-04-02 13:04:09 +0200 |
commit | 589f8af56cac4a4b55de757834b6e632a199e395 (patch) | |
tree | 8886083e0f9e8059bbbc5184a7d1133c1cfdbd60 /runtime/wtp.h | |
parent | 16b960939ee44155a9ac6ac6999b6ab71f237034 (diff) | |
parent | 6ffb9010811ee9bc0c3703716443c4dd00922f6f (diff) | |
download | rsyslog-589f8af56cac4a4b55de757834b6e632a199e395.tar.gz rsyslog-589f8af56cac4a4b55de757834b6e632a199e395.tar.xz rsyslog-589f8af56cac4a4b55de757834b6e632a199e395.zip |
Merge branch 'dapatch' into v3-stable
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 13ebe536..0f21ac11 100644 --- a/runtime/wtp.h +++ b/runtime/wtp.h @@ -60,6 +60,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 */ |