Fix std::atomic_flag init.
GitOrigin-RevId: a5db747edd902e2e6c7847c7c525bbd2cef0df1a
This commit is contained in:
parent
7f1bbb476a
commit
6acdaf056f
@ -138,7 +138,7 @@ class PollableFdInfo : private ListNode {
|
||||
|
||||
private:
|
||||
NativeFd fd_{};
|
||||
std::atomic_flag lock_{false};
|
||||
std::atomic_flag lock_ = ATOMIC_FLAG_INIT;
|
||||
PollFlagsSet flags_;
|
||||
#if TD_PORT_WINDOWS
|
||||
SpinLock observer_lock_;
|
||||
|
Reference in New Issue
Block a user