From bee1073cc388c6de59df443b5ca818896e5f6310 Mon Sep 17 00:00:00 2001 From: Jianpeng Ma Date: Tue, 20 Nov 2018 09:56:33 +0800 Subject: [PATCH] common/shared_cache: use notify_all rather than notify_one This bug introduced from 362e3dbaa4da521a8d3. Signed-off-by: Jianpeng Ma --- src/common/shared_cache.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/shared_cache.hpp b/src/common/shared_cache.hpp index 92cd8b7a8f93..9fb31927e644 100644 --- a/src/common/shared_cache.hpp +++ b/src/common/shared_cache.hpp @@ -87,7 +87,7 @@ private: if (i != weak_refs.end() && i->second.second == valptr) { weak_refs.erase(i); } - cond.notify_one(); + cond.notify_all(); } class Cleanup { -- 2.47.3