From d71ac705a693d60e044f8f8ae1309e965eb5eee5 Mon Sep 17 00:00:00 2001 From: Avi Kivity Date: Mon, 8 Sep 2014 21:39:52 +0300 Subject: [PATCH] core: reactor::run(): cosmetic rearrangement --- core/reactor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/reactor.cc b/core/reactor.cc index 48eaccc083..589db31c70 100644 --- a/core/reactor.cc +++ b/core/reactor.cc @@ -265,10 +265,10 @@ void reactor::run() { } current_tasks.clear(); } - std::array eevt; if (_stopped) { break; } + std::array eevt; int nr = ::epoll_wait(_epollfd.get(), eevt.data(), eevt.size(), -1); if (nr == -1 && errno == EINTR) { continue; // gdb can cause this