Home
last modified time | relevance | path

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

/hardware/qcom/sdm845/display/libhistogram/
Dhistogram_collector.cpp387 if (pipe2(selfpipe, O_CLOEXEC | O_NONBLOCK )) { in start()
392 monitoring_thread = std::thread(&HistogramCollector::collecting_thread, this, selfpipe[0]); in start()
403 write(selfpipe[1], &dummy, 1); in stop()
406 close(selfpipe[0]); in stop()
407 close(selfpipe[1]); in stop()
411 void histogram::HistogramCollector::collecting_thread(int selfpipe) { in collecting_thread() argument
477 if (epoll_ctl(*epollfd, EPOLL_CTL_ADD, selfpipe, &ev) == -1) { in collecting_thread()
Dhistogram_collector.h62 int selfpipe[2]; variable