Using a dedicated signal handling thread calling sigwait() might not be
perfect, but I can attest that it works pretty well for most cases and that
I've been using this technique on Linux for several years now.
Good luck,

Mark

On Wed, Mar 25, 2020 at 1:13 AM Franz Hollerer <[email protected]> wrote:

> After concerning myself more with this topic I think Marc's approach is
> the best a user of ZeroMQ can do to minimize the risk of an interrupted
> system call.
>
> Thanks for this nice idea. If I have some time I will try to provide a
> PR to get it into the guide.
>
> Franz
>
> _______________________________________________
> zeromq-dev mailing list
> [email protected]
> https://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
_______________________________________________
zeromq-dev mailing list
[email protected]
https://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to