all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* A question on sigchld_handler
@ 2007-12-27  6:46 Herbert Euler
  2007-12-27  9:41 ` Andreas Schwab
  0 siblings, 1 reply; 3+ messages in thread
From: Herbert Euler @ 2007-12-27  6:46 UTC (permalink / raw)
  To: emacs-devel@gnu.org


Hello,

Here is a question on the SIGCHLD handler, `sigchld_handler' in
process.c.

Could SIGCHLD possibly be delivered more than once to Emacs, so that
`sigchld_handler' is invoked more than once?  For example, SIGCHLD
arrives first, hence `sigchld_handler' gets called.  Before it
finishes, SIGINT arrives, so `sigchld_handler' is suspended and
`interrupt_signal' gets called.  Before `interrupt_signal' finishes,
another SIGCHLD arrives and so `sigchld_handler' gets called again.
Is that possible?

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-12-27 10:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-27  6:46 A question on sigchld_handler Herbert Euler
2007-12-27  9:41 ` Andreas Schwab
2007-12-27 10:10   ` Herbert Euler

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.