mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-13 10:32:57 +01:00
fix: make POSIX event thread safe
This commit is contained in:
parent
efd0878664
commit
0d696eaf57
@ -39,8 +39,8 @@ protected:
|
||||
void resetImpl();
|
||||
|
||||
private:
|
||||
bool _auto;
|
||||
bool _state;
|
||||
std::atomic<bool> _auto;
|
||||
std::atomic<bool> _state;
|
||||
pthread_mutex_t _mutex;
|
||||
pthread_cond_t _cond;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user