From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: why "in_sighandler"? Date: Mon, 21 Aug 2006 13:32:30 +0200 Message-ID: <44E999CE.3080403@swipnet.se> References: <87psevdhpc.fsf-monnier+emacs@gnu.org> <44E88FCA.5050705@swipnet.se> <44E9503E.7030609@swipnet.se> <44E95E71.30203@swipnet.se> <44E972EC.8000903@swipnet.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1156160029 10679 80.91.229.2 (21 Aug 2006 11:33:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 21 Aug 2006 11:33:49 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 21 13:33:43 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GF82A-0002qh-6g for ged-emacs-devel@m.gmane.org; Mon, 21 Aug 2006 13:33:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GF829-0005uI-Iz for ged-emacs-devel@m.gmane.org; Mon, 21 Aug 2006 07:33:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GF81w-0005sy-PQ for emacs-devel@gnu.org; Mon, 21 Aug 2006 07:33:20 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GF81u-0005pp-UX for emacs-devel@gnu.org; Mon, 21 Aug 2006 07:33:20 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GF81u-0005pI-LY for emacs-devel@gnu.org; Mon, 21 Aug 2006 07:33:18 -0400 Original-Received: from [81.228.9.181] (helo=av7-1-sn3.vrr.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GF89H-0007cQ-3P for emacs-devel@gnu.org; Mon, 21 Aug 2006 07:40:55 -0400 Original-Received: by av7-1-sn3.vrr.skanova.net (Postfix, from userid 502) id DC3EA382BE; Mon, 21 Aug 2006 13:33:11 +0200 (CEST) Original-Received: from smtp3-2-sn3.vrr.skanova.net (smtp3-2-sn3.vrr.skanova.net [81.228.9.102]) by av7-1-sn3.vrr.skanova.net (Postfix) with ESMTP id CD4C937EF3; Mon, 21 Aug 2006 13:33:11 +0200 (CEST) Original-Received: from coolsville.localdomain (81-235-205-204-no59.tbcn.telia.com [81.235.205.204]) by smtp3-2-sn3.vrr.skanova.net (Postfix) with ESMTP id 706E937E44; Mon, 21 Aug 2006 13:33:15 +0200 (CEST) User-Agent: Thunderbird 1.5.0.5 (X11/20060808) Original-To: YAMAMOTO Mitsuharu In-Reply-To: X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:58626 Archived-At: 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.