Fix locking bug in ThreadManager.
authorDavid Reiss <dreiss@apache.org>
Tue, 10 Jun 2008 22:55:04 +0000 (22:55 +0000)
committerDavid Reiss <dreiss@apache.org>
Tue, 10 Jun 2008 22:55:04 +0000 (22:55 +0000)
commite3a64923e9620ebf99ff51ed5bfcb366e503c79e
tree2d7212edec32b8f46d3451ed6a0dc8c3fa5173f8
parent791a57f528e12829acd6d2950d50e65139080f49
Fix locking bug in ThreadManager.

It looks like the scheduler waits on monitor_, but the worker notifies
workerMonitor_. Also, it does so out of critical section.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@666361 13f79535-47bb-0310-9956-ffa450edef68
lib/cpp/src/concurrency/ThreadManager.cpp