fix(Event): POSIX Event state need not be atomic #3699

This commit is contained in:
Alex Fabijanic 2022-07-19 17:58:13 +02:00
parent 0817b256b5
commit d9ea0f5d75

View File

@ -39,10 +39,10 @@ protected:
void resetImpl();
private:
bool _auto;
std::atomic<bool> _state;
pthread_mutex_t _mutex;
pthread_cond_t _cond;
bool _auto;
bool _state;
pthread_mutex_t _mutex;
pthread_cond_t _cond;
};