guile-user
[Top][All Lists]
Advanced

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

Re: about usage of `sigaction'


From: William Xu
Subject: Re: about usage of `sigaction'
Date: Thu, 18 Jan 2007 13:10:36 +0800
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.92 (gnu/linux)

Kevin Ryde <address@hidden> writes:

> I expect you've checked with "ps" that the child has actually exited.

Yes, i think so.

,----[ ps -ef|grep serv ]
| william  12353 10420  0 12:54 pts/2    00:00:00 /home/william/bin/guile \ 
./server.scm
| william  12364 12353  0 12:54 pts/2    00:00:00 [server.scm] <defunct>
| william  12379 12355  0 12:54 pts/3    00:00:00 grep serv
`----

> Otherwise I would wonder if the parent is stuck in accept, and doesn't
> take the scheme level signal action until it returns.

Yes, strace shows that server is stuck in accept. So all other things
are blocked during accept()? Maybe this is a problem of scheme accept?

-- 
William

Having wandered helplessly into a blinding snowstorm Sam was greatly
relieved to see a sturdy Saint Bernard dog bounding toward him with
the traditional keg of brandy strapped to his collar.
        "At last," cried Sam, "man's best friend -- and a great big dog, too!"




reply via email to

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