Home
last modified time | relevance | path

Searched refs:stopFd_ (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/sock/
H A Dsocket_listener.cpp34 stopFd_ = eventfd(0, 0); in Initialize()
35 if (epollFd_ == -1 || stopFd_ == -1) { in Initialize()
45 CHECK_EXCEPT_INTR(ret = epoll_ctl(epollFd_, EPOLL_CTL_ADD, stopFd_, &event)); in Initialize()
60 eventfd_write(stopFd_, 1); in Uninitialize()
71 if (stopFd_ != -1) { in Uninitialize()
72 close(stopFd_); in Uninitialize()
73 stopFd_ = -1; in Uninitialize()
127 eventfd_read(this->stopFd_, &val); in OnListenEvents()
H A Dsocket_listener.h95 int stopFd_ {-1};
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/util/internal/
H A Dtimer_linux.cpp48 int stopFd_ {-1}; member in utility::TimerManager
70 eventfd_write(stopFd_, 1); in ~TimerManager()
78 if (stopFd_ != -1) { in ~TimerManager()
79 close(stopFd_); in ~TimerManager()
86 stopFd_ = eventfd(0, 0); in Initialize()
87 if ((epollFd_ == -1) || (stopFd_ == -1)) { in Initialize()
98 CHECK_EXCEPT_INTR(ret = epoll_ctl(epollFd_, EPOLL_CTL_ADD, stopFd_, &event)); in Initialize()
144 eventfd_read(this->stopFd_, &val); in OnTimer()
/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/
H A Dclatd.cpp51 stopFd_ = eventfd(0, EFD_NONBLOCK | EFD_CLOEXEC); in Clatd()
62 close(stopFd_); in ~Clatd()
83 write(stopFd_, &one, sizeof(one)); in Stop()
128 {stopFd_, POLLIN, 0}, in RunLoop()
147 read(stopFd_, &one, sizeof one); in RunLoop()
/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/include/netsys/
H A Dclatd.h54 int stopFd_; variable