Re: external events api

Michael Sperber <[email protected]> Sun, 14 Aug 2011 10:38:35 +0200
Newsgroups gmane.lisp.scheme.scheme48
Message-ID <[email protected]>
Roderic Morris <[email protected]> writes:

> On Aug 13, 2011, at 10:01 AM, Michael Sperber wrote:
>> Roderic Morris <[email protected]> writes:
>>> 
>>> 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.
>
> I'm not sure what else to say. The patch and example code I gave a
> couple emails back demonstrate the behavior I'm talking about, if
> you'd like a clearer illustration. If the waits are done too close
> together (and thus the calls to s48_note_external_event are performed
> close together), some of the threads are not woken and sleep
> indefinitely. Further calls to wait (which end in calls to
> wait-for-external-event) are never woken as well.

You mean this, right:

http://article.gmane.org/gmane.lisp.scheme.scheme48/2432

?  Could you send the C code that goes with it?

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