OSDN Git Service

Bug 5044578 part 2
authorGlenn Kasten <gkasten@google.com>
Tue, 19 Jul 2011 18:34:58 +0000 (11:34 -0700)
committerGlenn Kasten <gkasten@google.com>
Tue, 19 Jul 2011 18:34:58 +0000 (11:34 -0700)
That last fix introduced a regression; one assert no longer true
found during more testing.

Change-Id: I4c3f8d6f7158fc364473606d1c8f78fe81fbb7e5

wilhelm/src/ThreadPool.c

index a910018..20130cf 100644 (file)
@@ -190,7 +190,6 @@ static void ThreadPool_deinit_internal(ThreadPool *tp, unsigned initialized, uns
         // Empty out the circular buffer of closures
         ok = pthread_mutex_lock(&tp->mMutex);
         assert(0 == ok);
-        assert(0 == tp->mWaitingNotEmpty);
         Closure **oldFront = tp->mClosureFront;
         while (oldFront != tp->mClosureRear) {
             Closure **newFront = oldFront;