Re: exception trap in key snooper callback



Kevin Ryde wrote:
I had an error in some key snooper callback code and hoped it might trap
to the installed "exception_handler" instead of aborting the program.
Is there a reason the "GPerlClosure" and "GPerlCallback" stuff differ in
that trapping?

As far as I can tell, the only place where the exception handlers are invoked
from is gperl_signal_class_closure_marshal.  So it seems that they are only
meant to handle exceptions occurring inside signal handlers.

-- 
Bye,
-Torsten



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]