[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: about usage of `sigaction'

From: Kevin Ryde
Subject: Re: about usage of `sigaction'
Date: Fri, 19 Jan 2007 09:55:53 +1100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

William Xu <address@hidden> writes:
> So all other things are blocked during accept()?

Signals for the thread in question at least :(.

> Maybe this is a problem of scheme accept?

It's not a good thing, though fixing it might be tricky.

Do you actually need to know immediately the child exits?  Perhaps
it's enough to reap on the next connection.  If you need to know then
you might keep a pipe open to each child, then `select' on them plus
the listening port.  Whichever has some action (incoming connect or
exited child) can show up.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]