diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-09-26 16:22:15 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-09-26 16:22:15 +0200 |
commit | 96f312f94f127b7bc9a39e5822afdf28a5b2286c (patch) | |
tree | de6601ef23c8a438ccf1138a3d050a1d2ba28569 /runtime/wtp.c | |
parent | 5b43ffdf1bc099a9e9b0696ab939f5eb6d9bef2a (diff) | |
parent | b8e82d59b7aba7da65e4244a29b92274aa50d08d (diff) | |
download | rsyslog-96f312f94f127b7bc9a39e5822afdf28a5b2286c.tar.gz rsyslog-96f312f94f127b7bc9a39e5822afdf28a5b2286c.tar.xz rsyslog-96f312f94f127b7bc9a39e5822afdf28a5b2286c.zip |
Merge branch 'helgrind' into perf
Conflicts:
runtime/debug.c
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 ee9fc765..c28efc51 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; } |