From f99b8fc921bc0e6aa55276d8c55e43c9d7f4375a Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Sun, 20 Sep 2009 10:47:27 +0200 Subject: receiving side of signaler virtualised --- src/app_thread.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/app_thread.cpp') diff --git a/src/app_thread.cpp b/src/app_thread.cpp index c152fc8..8c83313 100644 --- a/src/app_thread.cpp +++ b/src/app_thread.cpp @@ -84,7 +84,7 @@ bool zmq::app_thread_t::make_current () void zmq::app_thread_t::process_commands (bool block_, bool throttle_) { - ypollset_t::signals_t signals; + uint64_t signals; if (block_) signals = pollset.poll (); else { @@ -127,7 +127,7 @@ void zmq::app_thread_t::process_commands (bool block_, bool throttle_) // Traverse all the possible sources of commands and process // all the commands from all of them. for (int i = 0; i != thread_slot_count (); i++) { - if (signals & (ypollset_t::signals_t (1) << i)) { + if (signals & (uint64_t (1) << i)) { command_t cmd; while (dispatcher->read (i, get_thread_slot (), &cmd)) cmd.destination->process_command (cmd); -- cgit v1.2.3