mirror of
https://github.com/pocoproject/poco.git
synced 2025-04-01 09:24:55 +02:00
fix: make POSIX event thread safe
This commit is contained in:
parent
efd0878664
commit
0d696eaf57
@ -39,8 +39,8 @@ protected:
|
|||||||
void resetImpl();
|
void resetImpl();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
bool _auto;
|
std::atomic<bool> _auto;
|
||||||
bool _state;
|
std::atomic<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