Home
last modified time | relevance | path

Searched refs:mCtrlPipe (Results 1 – 2 of 2) sorted by relevance

/system/core/libsysutils/src/
DSocketListener.cpp63 if (mCtrlPipe[0] != -1) { in ~SocketListener()
64 close(mCtrlPipe[0]); in ~SocketListener()
65 close(mCtrlPipe[1]); in ~SocketListener()
98 if (pipe2(mCtrlPipe, O_CLOEXEC)) { in startListener()
115 rc = TEMP_FAILURE_RETRY(write(mCtrlPipe[1], &c, 1)); in stopListener()
126 close(mCtrlPipe[0]); in stopListener()
127 close(mCtrlPipe[1]); in stopListener()
128 mCtrlPipe[0] = -1; in stopListener()
129 mCtrlPipe[1] = -1; in stopListener()
157 fds.push_back({.fd = mCtrlPipe[0], .events = POLLIN}); in runListener()
[all …]
/system/core/libsysutils/include/sysutils/
DSocketListener.h32 int mCtrlPipe[2]; variable