Searched refs:watching_ (Results 1 – 2 of 2) sorted by relevance
42 : fd_(fd), am_(am), watching_(false) { in PosixAsyncSocket()60 watching_ = other.watching_.load(); in PosixAsyncSocket()64 other.watching_ = false; in PosixAsyncSocket()145 if (watching_.compare_exchange_strong(expected, true)) { in WatchForNonBlockingRead()156 if (watching_.compare_exchange_strong(expected, false)) { in StopWatching()
84 std::atomic_bool watching_; variable