Searched refs:stop_fd_ (Results 1 – 2 of 2) sorted by relevance
/device/google/cuttlefish/common/libs/utils/ |
D | socket2socket_proxy.cpp | 40 : stop_fd_(SharedFD::Event()) { in ProxyPair() 41 if (!stop_fd_->IsOpen()) { in ProxyPair() 42 LOG(FATAL) << "Failed to open eventfd: " << stop_fd_->StrError(); in ProxyPair() 49 stop_fd_(std::move(other.stop_fd_)), in ProxyPair() 58 if (stop_fd_->IsOpen() && stop_fd_->EventfdWrite(1) != 0) { in ~ProxyPair() 59 LOG(ERROR) << "Failed to stop proxy thread: " << stop_fd_->StrError(); in ~ProxyPair() 76 c2t_ = std::thread(&ProxyPair::Forward, this, "c2t", from, to, stop_fd_, in Start() 78 t2c_ = std::thread(&ProxyPair::Forward, this, "t2c", to, from, stop_fd_, in Start() 105 SharedFD stop_fd_; member in cuttlefish::__anon0a269dfb0111::ProxyPair 115 : stop_fd_(SharedFD::Event()) { in ProxyServer() [all …]
|
D | socket2socket_proxy.h | 34 SharedFD stop_fd_;
|