Home
last modified time | relevance | path

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

/device/google/contexthub/contexthubhal/
Dnanohubhal.h89 int mThreadClosingPipe[2]; variable
97 mThreadClosingPipe[0] = -1; in reset()
98 mThreadClosingPipe[1] = -1; in reset()
Dnanohubhal.cpp215 [IDX_CLOSE_PIPE] = { .fd = mThreadClosingPipe[0], .events = POLLIN, }, in runDeviceRx()
299 if (pipe(mThreadClosingPipe)) { in openHub()
321 while(write(mThreadClosingPipe[1], &zero, 1) != 1) { in closeHub()
343 ::close(mThreadClosingPipe[0]); in closeHub()
344 ::close(mThreadClosingPipe[1]); in closeHub()