[Openmcl-devel] Asynchronous callback made from real-time thread
letz at rd.grame.fr
Fri May 30 02:15:12 PDT 2003
We are trying to interface a Midi package (MidiShare :
www.grame.fr/MidiShare) with OpenMCL. Using MidiShare allows a Lisp
program to access a full Midi API : receive, send Midi events, tasks
For real-time handling of incoming Midi events, there is a safe
solution that consist in doing polling on the incoming event fifo in
a Lisp thread.
We tried to implement a more real-time way by calling back the Lisp
code directly from the real-time Midi thread using a lisp callback
defined with defcallback.
This seems to almost work on 0.13.5 version but crash after some
time. It crash immediately with the 0.14 alpha version.
Is it possible to implement this kind of asynchronous callback made
from real-time thread in OpenMCL? Is there any special issue to
consider : thread synchronization, interaction with the garbage
Openmcl-devel mailing list
Openmcl-devel at clozure.com
More information about the Openmcl-devel