[zeromq-dev] [BUG] zmq_assert causes BOOM if you breath on OSX Lion kqueue wrong.
Elliot Saba
staticfloat at gmail.com
Mon Oct 3 01:23:16 CEST 2011
I second this notion, it allows for much more graceful error handling, even
in the case of errors that "should never happen". This makes the error
checking the asserts do much more meaningful for users, and not just
meaningful for zmq developers.
-E
On Sun, Oct 2, 2011 at 11:04 AM, Ian Barber <ian.barber at gmail.com> wrote:
> On Sat, Oct 1, 2011 at 9:58 AM, Martin Sustrik <sustrik at 250bpm.com> wrote:
>
> > What can be done is setting a global handler function that will be
> > called if a bug is hit. It's not clear what the application should do
> > then though. Maybe it can save its state and restart itself?
> >
>
> This would be a very good option I think. Like you say, I think the
> main advantage would be to allow orderly shutdown of other parts of an
> application.
>
> Ian
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20111002/e7d5174b/attachment.htm>
More information about the zeromq-dev
mailing list