mirror of
https://github.com/pocoproject/poco.git
synced 2025-05-29 23:42:39 +02:00
fix(Event): POSIX Event state need not be atomic #3699
This commit is contained in:
parent
0817b256b5
commit
d9ea0f5d75
@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user