From 8e45fd5c8e7df45532c5d239676cd92107c9e942 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Tue, 20 Oct 2009 11:05:02 +0200 Subject: bugfix: potential hang condition on queue shutdown --- runtime/wtp.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'runtime/wtp.c') diff --git a/runtime/wtp.c b/runtime/wtp.c index 3beae271..fcecc4f2 100644 --- a/runtime/wtp.c +++ b/runtime/wtp.c @@ -171,9 +171,7 @@ 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; } -- cgit