This is an automated email from the ASF dual-hosted git repository.

jensg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/thrift.git


The following commit(s) were added to refs/heads/master by this push:
     new 5e9203b  THRIFT-4962 Fix deadlock in TimerManager::stop Client: cpp 
Author: Guillaume Blanc
5e9203b is described below

commit 5e9203b2b239794bac5338b638e3a9c30efc1932
Author: Guillaume Blanc <[email protected]>
AuthorDate: Fri Sep 20 17:19:57 2019 +0200

    THRIFT-4962 Fix deadlock in TimerManager::stop
    Client: cpp
    Author: Guillaume Blanc
    
    This closes #1877
---
 lib/cpp/src/thrift/concurrency/TimerManager.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/cpp/src/thrift/concurrency/TimerManager.cpp 
b/lib/cpp/src/thrift/concurrency/TimerManager.cpp
index 003f564..703c19e 100644
--- a/lib/cpp/src/thrift/concurrency/TimerManager.cpp
+++ b/lib/cpp/src/thrift/concurrency/TimerManager.cpp
@@ -132,7 +132,7 @@ public:
       Synchronized s(manager_->monitor_);
       if (manager_->state_ == TimerManager::STOPPING) {
         manager_->state_ = TimerManager::STOPPED;
-        manager_->monitor_.notify();
+        manager_->monitor_.notifyAll();
       }
     }
     return;

Reply via email to