diff --git a/include/openpose/thread/queueBase.hpp b/include/openpose/thread/queueBase.hpp index cff72cfe..b6a77f30 100644 --- a/include/openpose/thread/queueBase.hpp +++ b/include/openpose/thread/queueBase.hpp @@ -440,7 +440,7 @@ namespace op return false; mTQueue.emplace(tDatums); - mConditionVariable.notify_one(); + mConditionVariable.notify_all(); return true; } catch (const std::exception& e) @@ -459,7 +459,7 @@ namespace op return false; mTQueue.push(tDatums); - mConditionVariable.notify_one(); + mConditionVariable.notify_all(); return true; } catch (const std::exception& e) @@ -478,7 +478,7 @@ namespace op return false; mTQueue.pop(); - mConditionVariable.notify_one(); + mConditionVariable.notify_all(); return true; } catch (const std::exception& e)