summaryrefslogtreecommitdiffstats
path: root/runtime/wtp.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-09-30 10:58:39 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2008-09-30 10:58:39 +0200
commit4026000efcc736d1931785e4fa3c1fd21258fd95 (patch)
tree198d8d2529552ef177ce22a65552ce699753a92e /runtime/wtp.c
parent658130c083b82d129f108074070e2aa198f6fa59 (diff)
parent92c2e09d19bef9dd10d2e85a663925124d6e00e4 (diff)
downloadrsyslog-3.21.5.tar.gz
rsyslog-3.21.5.tar.xz
rsyslog-3.21.5.zip
Merge branch 'helgrind'v3.21.5
Conflicts: ChangeLog
Diffstat (limited to 'runtime/wtp.c')
-rw-r--r--runtime/wtp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/wtp.c b/runtime/wtp.c
index 8b041ea2..54f12b2b 100644
--- a/runtime/wtp.c
+++ b/runtime/wtp.c
@@ -169,7 +169,9 @@ wtpWakeupAllWrkr(wtp_t *pThis)
DEFiRet;
ISOBJ_TYPE_assert(pThis, wtp);
+ d_pthread_mutex_lock(pThis->pmutUsr);
pthread_cond_broadcast(pThis->pcondBusy);
+ d_pthread_mutex_unlock(pThis->pmutUsr);
RETiRet;
}