[CM] MidiShare error with CM
Dave Phillips
dlphillips at woh.rr.com
Sun Dec 11 20:02:09 PST 2005
Rick Taube wrote:
>>
>> Umm, is that how it's supposed to behave ?
>
>
> i think this is a CMUCL/SBCL issue with output to the terminal from a
> different thread.
> try adding a (force-output) after the print, ie doing something like:
>
> (set-receiver! (lambda (ev)
> (ms:MidiPrintEv ev)
> (force-output)
> (ms:MidiFreeEv ev)) ; dont forget to free an ev if
> you dont resend!
> *ms*)
Thanks, Rick, that fixed it. Now how do I get a newline after each
force-output ? :)
Best,
dp
More information about the Cmdist
mailing list