diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2010-09-08 08:39:27 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2010-09-08 08:39:27 +0200 |
commit | 91ea20464439b5359a5d803181141fc756fa817c (patch) | |
tree | 00cafd9ce918211a4a5e14d373253acb5956b7ef /src/socket_base.hpp | |
parent | f374431ebe0f3e18a2b2adeafa8093ff59a9eac2 (diff) |
EINTR returned from the blocking functions
Diffstat (limited to 'src/socket_base.hpp')
-rw-r--r-- | src/socket_base.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
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 (); |