From 7668b246fc3cf4a2a3b3ee9b1283ad8a4b12ac4f Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Sun, 20 Sep 2009 12:03:14 +0200 Subject: ZMQ_POLL option forces fd_signaler to be used in app_thread --- src/i_signaler.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/i_signaler.hpp') diff --git a/src/i_signaler.hpp b/src/i_signaler.hpp index 729b5b7..a09fe7e 100644 --- a/src/i_signaler.hpp +++ b/src/i_signaler.hpp @@ -37,11 +37,11 @@ namespace zmq // Wait for signal. Returns a set of signals in form of a bitmap. // Signal with index 0 corresponds to value 1, index 1 to value 2, // index 2 to value 3 etc. - uint64_t poll (); + virtual uint64_t poll () = 0; // Same as poll, however, if there is no signal available, // function returns zero immediately instead of waiting for a signal. - uint64_t check (); + virtual uint64_t check () = 0; }; } -- cgit v1.2.3