From d9ea0f5d751f2d8c47d2f3ec173778a1aa047ca0 Mon Sep 17 00:00:00 2001 From: Alex Fabijanic Date: Tue, 19 Jul 2022 17:58:13 +0200 Subject: [PATCH] fix(Event): POSIX Event state need not be atomic #3699 --- Foundation/include/Poco/Event_POSIX.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Foundation/include/Poco/Event_POSIX.h b/Foundation/include/Poco/Event_POSIX.h index 93b64e67c..a6368bd25 100644 --- a/Foundation/include/Poco/Event_POSIX.h +++ b/Foundation/include/Poco/Event_POSIX.h @@ -39,10 +39,10 @@ protected: void resetImpl(); private: - bool _auto; - std::atomic _state; - pthread_mutex_t _mutex; - pthread_cond_t _cond; + bool _auto; + bool _state; + pthread_mutex_t _mutex; + pthread_cond_t _cond; };