Home
last modified time | relevance | path

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

/system/core/libsysutils/src/
DSocketListener.cpp62 if (mCtrlPipe[0] != -1) { in ~SocketListener()
63 close(mCtrlPipe[0]); in ~SocketListener()
64 close(mCtrlPipe[1]); in ~SocketListener()
100 if (pipe(mCtrlPipe)) { in startListener()
117 rc = TEMP_FAILURE_RETRY(write(mCtrlPipe[1], &c, 1)); in stopListener()
128 close(mCtrlPipe[0]); in stopListener()
129 close(mCtrlPipe[1]); in stopListener()
130 mCtrlPipe[0] = -1; in stopListener()
131 mCtrlPipe[1] = -1; in stopListener()
171 FD_SET(mCtrlPipe[0], &read_fds); in runListener()
[all …]
/system/core/libsysutils/include/sysutils/
DSocketListener.h30 int mCtrlPipe[2]; variable