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

@ -40,7 +40,7 @@ protected:
private:
bool _auto;
std::atomic<bool> _state;
bool _state;
pthread_mutex_t _mutex;
pthread_cond_t _cond;
};