Re: external events api

Michael Sperber <[email protected]> Sat, 13 Aug 2011 16:01:53 +0200
Newsgroups gmane.lisp.scheme.scheme48
Message-ID <[email protected]>
Roderic Morris <[email protected]> writes:

> On Aug 3, 2011, at 1:59 PM, Marcus Crestani wrote:
>
> Should've replied to this sooner, but I've been busy. I think we have a misunderstanding.
>
>>>>>>> "RM" == Roderic Morris <[email protected]> writes:
>> RM> It seems that this api has trouble with notes happening in quick
>> RM> succession.
>> 
>> Yes, it is not guaranteed that every `s48_note_external_event' gets
>> handled immediately.  That's why external code has to collect multiple
>> external events and provide a mechanism for Scheme to obtain *all*
>> occurred events that have not yet been obtained before.
>
> I understand that. The problem is that some of those calls are *never*
> handled. I've left the process idling for quite a while without them
> being woken. Moreover, after the first time a thread fails to wake up,
> all subsequent calls to s48_note_external_event have no effect, even
> on brand new event ids.

Details, please.

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla