emacs-devel
[Top][All Lists]
Advanced

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

RE: A question on sigchld_handler


From: Herbert Euler
Subject: RE: A question on sigchld_handler
Date: Thu, 27 Dec 2007 18:10:55 +0800

>> Could SIGCHLD possibly be delivered more than once to Emacs, so that
>> `sigchld_handler' is invoked more than once?
>
> A signal is blocked as long as its handler hasn't returned. Thus that
> can only happen when the signal is explicitly unblocked, or the function
> is called manually.

Thank you very much!  :D

So I misunderstood the GNU Libc manual.

There are Lisp_Objects used in `sigio_handler', and other structs used
in other signal handlers.  These data structures seem not atomic to
signals.  How are non-atomic problems avoided here?

Regards,
Guanpeng Xu
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/




reply via email to

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