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.bar...@gmail.com> wrote: > On Sat, Oct 1, 2011 at 9:58 AM, Martin Sustrik <sust...@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@lists.zeromq.org > http://lists.zeromq.org/mailman/listinfo/zeromq-dev >
_______________________________________________ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev