From 91ea20464439b5359a5d803181141fc756fa817c Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Wed, 8 Sep 2010 08:39:27 +0200 Subject: EINTR returned from the blocking functions --- src/socket_base.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/socket_base.hpp') diff --git a/src/socket_base.hpp b/src/socket_base.hpp index 1a7f9f0..4ba9494 100644 --- a/src/socket_base.hpp +++ b/src/socket_base.hpp @@ -124,7 +124,6 @@ namespace zmq private: -// TODO: Check whether we still need this flag... // If true, socket was already closed but not yet deallocated // because either shutdown is in process or there are still pipes // attached to the socket. @@ -147,7 +146,7 @@ namespace zmq // set to true, returns only after at least one command was processed. // If throttle argument is true, commands are processed at most once // in a predefined time period. - void process_commands (bool block_, bool throttle_); + int process_commands (bool block_, bool throttle_); // Handlers for incoming commands. void process_stop (); -- cgit v1.2.3