emacs-devel
[Top][All Lists]
Advanced

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

Re: why "in_sighandler"?


From: Jan Djärv
Subject: Re: why "in_sighandler"?
Date: Mon, 21 Aug 2006 13:32:30 +0200
User-agent: Thunderbird 1.5.0.5 (X11/20060808)



YAMAMOTO Mitsuharu skrev:


The standard says "when a signal interrupts an unsafe function ...".
My interpretation is that a signal interrupts *only* the function in
execution on the thread that the signal is delivered to, but the
signal does not interrupt the functions in execution on the other
threads.


A signal interrupts all threads on a uni-processor machine. The fact that the signal is delivered to just one thread is another matter. Also, it has more to do with reentrance of the function in question rather than which threads are executing what.

        Jan D.





reply via email to

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