Re: Changeset 0306c5a64775

Michael Sperber <[email protected]> Thu, 05 Jan 2012 18:15:27 +0100
Newsgroups gmane.lisp.scheme.scheme48
Message-ID <[email protected]>
Robert Ransom <[email protected]> writes:

> On 2011-12-31, Roderic Morris <[email protected]> wrote:
>> If I'm looking at the right revision, it's to allow the use of wait()
>> without triggering deadlock detection
>
> It might do that, but it breaks get-address-info from the
> net-addresses package (which (ab)uses external-event UIDs in the same
> way).

Not quite: In `net-addresses', the external event is indeed triggered
from the external code, which is not the case with the waitpid stuff,
which just trampolines into the external events from Scheme.  So I
believe the solution is to do with the wait code as with the getaddrinfo
case, namely to wait in a separate thread (or revert to the old
implementation if threads are not available.)  I'll look into doing this
over the weekend.

Meanwhile, thanks for the analysis and the patches (which look good) -
I've pushed those.

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