diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-09-30 10:58:39 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-09-30 10:58:39 +0200 |
commit | 4026000efcc736d1931785e4fa3c1fd21258fd95 (patch) | |
tree | 198d8d2529552ef177ce22a65552ce699753a92e /runtime/wtp.c | |
parent | 658130c083b82d129f108074070e2aa198f6fa59 (diff) | |
parent | 92c2e09d19bef9dd10d2e85a663925124d6e00e4 (diff) | |
download | rsyslog-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.c | 2 |
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; } |