Home
last modified time | relevance | path

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

/device/google/contexthub/contexthubhal/
Dnanohubhal.cpp207 [IDX_CLOSE_PIPE] = { .fd = mThreadClosingPipe[0], .events = POLLIN, }, in doRun()
289 if (pipe(mThreadClosingPipe)) { in openHub()
304 close(mThreadClosingPipe[0]); in openHub()
305 close(mThreadClosingPipe[1]); in openHub()
319 while(write(mThreadClosingPipe[1], &zero, 1) != 1); in closeHub()
325 ::close(mThreadClosingPipe[0]); in closeHub()
326 ::close(mThreadClosingPipe[1]); in closeHub()
Dnanohubhal.h65 int mThreadClosingPipe[2]; variable
75 mThreadClosingPipe[0] = -1; in reset()
76 mThreadClosingPipe[1] = -1; in reset()