From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Newsgroups: gmane.lisp.guile.user Subject: Re: Why launch the Guile signal delivery thread on exit? (was Re: guile 2.0.9 build on mingw) Date: Wed, 19 Jun 2013 21:20:31 +0200 Message-ID: <87mwqldi0w.fsf@gnu.org> References: <83sj1hv2ml.fsf@gnu.org> <874ndx9y7h.fsf@pobox.com> <83ip2bt4qk.fsf@gnu.org> <8761xqhyyt.fsf@gnu.org> <83li6mt18y.fsf@gnu.org> <83wqq3mcq9.fsf@gnu.org> <87k3m3kor5.fsf@gnu.org> <83ehcalysu.fsf@gnu.org> <87sj0pvl4a.fsf@tines.lan> <837gi1n3v5.fsf@gnu.org> <87k3m1vg8b.fsf@tines.lan> <83txl4lhby.fsf@gnu.org> <87txl4mh5p.fsf@gnu.org> <83a9mvkysg.fsf@gnu.org> <87li67cck5.fsf_-_@tines.lan> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1371669955 30952 80.91.229.3 (19 Jun 2013 19:25:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 19 Jun 2013 19:25:55 +0000 (UTC) Cc: guile-user@gnu.org To: Mark H Weaver Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Wed Jun 19 21:25:56 2013 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UpO0x-0005PS-HG for guile-user@m.gmane.org; Wed, 19 Jun 2013 21:25:55 +0200 Original-Received: from localhost ([::1]:43045 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpO0w-00014q-Uk for guile-user@m.gmane.org; Wed, 19 Jun 2013 15:25:54 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37455) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpO0k-00014Z-21 for guile-user@gnu.org; Wed, 19 Jun 2013 15:25:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UpO0j-0003LI-4U for guile-user@gnu.org; Wed, 19 Jun 2013 15:25:41 -0400 Original-Received: from hera.aquilenet.fr ([141.255.128.1]:48295) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpO0h-0003Ku-AU; Wed, 19 Jun 2013 15:25:39 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 25388E01; Wed, 19 Jun 2013 21:20:33 +0200 (CEST) Original-Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7tPiVctC-h-3; Wed, 19 Jun 2013 21:20:33 +0200 (CEST) Original-Received: from pluto (LDijon-156-64-49-137.w217-128.abo.wanadoo.fr [217.128.51.137]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 519DBDE2; Wed, 19 Jun 2013 21:20:32 +0200 (CEST) X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 1 Messidor an 221 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu In-Reply-To: <87li67cck5.fsf_-_@tines.lan> (Mark H. Weaver's message of "Tue, 18 Jun 2013 17:51:38 -0400") User-Agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x [fuzzy] X-Received-From: 141.255.128.1 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:10477 Archived-At: Mark H Weaver skribis: > Eli Zaretskii writes: >> Why isn't the signal delivery thread launched at program start > > The signal delivery thread is not launched until the first signal > handler is installed. This would seem sensible if not for the fact that > it is always launched at exit, which I found surprising. > >> and why is it launched at exit? > > Good question. This behavior was apparently introduced in this commit: > > http://git.savannah.gnu.org/gitweb/?p=3Dguile.git;a=3Dcommitdiff;h=3D2e= 77f7202b11ad0003831fcff94ec7db80cca015 See also: http://lists.gnu.org/archive/html/guile-devel/2011-06/msg00034.html HTH, Ludo=E2=80=99.