Lines Matching defs:loop
304 IOEventLoop* loop = event_selection_set_.GetIOEventLoop();
305 if (!loop->AddSignalEvents({SIGCHLD, SIGINT, SIGTERM, SIGHUP},
306 [&]() { return loop->ExitLoop(); })) {
310 if (!loop->AddPeriodicEvent(SecondToTimeval(duration_in_sec_),
311 [&]() { return loop->ExitLoop(); })) {
324 if (!loop->RunLoop()) {