From 7481d52c6ce19da5efa9435a5e57a5b25beb232a Mon Sep 17 00:00:00 2001 From: Henning Baldersheim Date: Mon, 30 Nov 2020 11:52:10 +0000 Subject: We must keep the handling in the selector still. --- vespalib/src/vespa/vespalib/net/selector.h | 1 + 1 file changed, 1 insertion(+) (limited to 'vespalib') diff --git a/vespalib/src/vespa/vespalib/net/selector.h b/vespalib/src/vespa/vespalib/net/selector.h index 828f29705fb..6b1967ddcd9 100644 --- a/vespalib/src/vespa/vespalib/net/selector.h +++ b/vespalib/src/vespa/vespalib/net/selector.h @@ -59,6 +59,7 @@ public: for (const auto &evt: _events) { if (evt.data.ptr == nullptr) { _wakeup_pipe.read_tokens(); + handler.handle_wakeup(); } else { Context &ctx = *((Context *)(evt.data.ptr)); bool read = ((evt.events & (EPOLLIN | EPOLLERR | EPOLLHUP)) != 0); -- cgit v1.2.3