mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-26 10:32:56 +01:00
fix(Event): POSIX Event state need not be atomic #3699
This commit is contained in:
@@ -39,10 +39,10 @@ protected:
|
|||||||
void resetImpl();
|
void resetImpl();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
bool _auto;
|
bool _auto;
|
||||||
std::atomic<bool> _state;
|
bool _state;
|
||||||
pthread_mutex_t _mutex;
|
pthread_mutex_t _mutex;
|
||||||
pthread_cond_t _cond;
|
pthread_cond_t _cond;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user