Searched refs:selfpipe (Results 1 – 2 of 2) sorted by relevance
387 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() argument477 if (epoll_ctl(*epollfd, EPOLL_CTL_ADD, selfpipe, &ev) == -1) { in collecting_thread()
62 int selfpipe[2]; variable