Home
last modified time | relevance | path

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

/device/google/contexthub/contexthubhal/
Dnanohubhal.cpp226 [IDX_CLOSE_PIPE] = { .fd = mThreadClosingPipe[0], .events = POLLIN, }, in runDeviceRx()
323 if (pipe(mThreadClosingPipe)) { in openHub()
345 while(write(mThreadClosingPipe[1], &zero, 1) != 1) { in closeHub()
367 ::close(mThreadClosingPipe[0]); in closeHub()
368 ::close(mThreadClosingPipe[1]); in closeHub()
Dnanohubhal.h124 int mThreadClosingPipe[2]; variable
132 mThreadClosingPipe[0] = -1; in reset()
133 mThreadClosingPipe[1] = -1; in reset()