[Openmcl-devel] Handling error in a callback

Stéphane Letz letz at grame.fr
Mon Mar 29 05:28:45 PST 2004


Hi,

We are experimenting the use of "defcallback" to define Lisp callback 
to be called by native code (inside real-time MIDI  interrupts, using 
MidiShare www.grame.fr/MidiShare)

If the Lisp callback triggers an error, then the native thread seems to 
enter a "suspended" state and  Lisp code can not be called by the 
native callback anymore,  and since this thread in a suspended state, 
OpenMCL can not quit anymore

How are we suppose to do in this case? Do we need to wrap the callback 
Lisp code with an error catcher  block?

Thanks

Stephane Letz




More information about the Openmcl-devel mailing list