diff options
Diffstat (limited to 'lib/cpp/src/thrift/concurrency/ThreadManager.cpp')
-rw-r--r-- | lib/cpp/src/thrift/concurrency/ThreadManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/cpp/src/thrift/concurrency/ThreadManager.cpp b/lib/cpp/src/thrift/concurrency/ThreadManager.cpp index a2b44d4ff..71b8fec57 100644 --- a/lib/cpp/src/thrift/concurrency/ThreadManager.cpp +++ b/lib/cpp/src/thrift/concurrency/ThreadManager.cpp @@ -276,8 +276,8 @@ public: /* If we have a pending task max and we just dropped below it, wakeup any thread that might be blocked on add. */ if (manager_->pendingTaskCountMax_ != 0 - && manager_->tasks_.size() <= manager_->pendingTaskCountMax_ - 1) { - manager_->maxMonitor_.notify(); + && manager_->tasks_.size() <= manager_->pendingTaskCountMax_ - 1) { + manager_->maxMonitor_.notify(); } } else { idle_ = true; |