[zeromq-dev] weird bug
john skaller
skaller at users.sourceforge.net
Mon Mar 5 15:24:35 CET 2012
On 05/03/2012, at 3:44 PM, Lucas Hope wrote:
>
> This seems like a great place for a socket option, HANDLE_EINTR or something,
Perhaps I am mistaken but: blocking posix operations must return EINTER
on interruption. Otherwise clean termination on Ctrl-C and thread cancellation are
impossible.
If you automatically handle them .. you defeat their purpose.
It kind of sucks .. but that's how Posix works.
--
john skaller
skaller at users.sourceforge.net
http://felix-lang.org
More information about the zeromq-dev
mailing list