Hazen,

On Tue, 2011-11-01 at 22:28 -0400, Hazen Babcock wrote:
> > Check if there is an exit_handler
> > If so, pass control to it and on return execute a simple return

Having thought a bit more, I can see that this would be pointless.
Having plexit return to the plplot module that called it can't help!
Thanks for refraining from calling this suggestion stupid.

> > If not, then I guess crashing immediately might be best
> >
> > This gives the programmer the opportunity and responsibility to deal
> > with the error if they can/wish.
> 
> The trick is to write your exit handler so that it does not return 
> control to PLplot.

Indeed, and could be quite tricky depending on the application but is
the best plplot could offer. I withdraw the subject line of this thread.

Best wishes
Steve

-- 
+-------------------------------------------------------------------+
Professor Steven J Schwartz        Phone: +44-(0)20-7594-7660
Head, Space & Atmospheric Physics  Fax:   +44-(0)20-7594-7772
The Blackett Laboratory            E-mail: s.schwa...@imperial.ac.uk
Imperial College London            Office: Huxley 6M67A 
London SW7 2AZ, U.K.               Web: www.sp.ph.ic.ac.uk/~sjs
+-------------------------------------------------------------------+


------------------------------------------------------------------------------
RSA® Conference 2012
Save $700 by Nov 18
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to