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: guile 2.0.9 build on mingw Date: Sun, 09 Jun 2013 23:35:54 +0200 Message-ID: <8738srklvp.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> <87k3m39e8t.fsf@pobox.com> 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 1370814074 29567 80.91.229.3 (9 Jun 2013 21:41:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Jun 2013 21:41:14 +0000 (UTC) Cc: guile-user@gnu.org To: Andy Wingo Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sun Jun 09 23:41:12 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 1UlnML-0007UU-SD for guile-user@m.gmane.org; Sun, 09 Jun 2013 23:41:09 +0200 Original-Received: from localhost ([::1]:45853 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UlnML-0004s1-H5 for guile-user@m.gmane.org; Sun, 09 Jun 2013 17:41:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59789) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UlnMC-0004rw-Kw for guile-user@gnu.org; Sun, 09 Jun 2013 17:41:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UlnMB-0008Gl-NH for guile-user@gnu.org; Sun, 09 Jun 2013 17:41:00 -0400 Original-Received: from hera.aquilenet.fr ([141.255.128.1]:56840) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UlnMA-0008GE-1A; Sun, 09 Jun 2013 17:40:58 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id A7FA5CB4; Sun, 9 Jun 2013 23:35:55 +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 cOZxfexrtvRB; Sun, 9 Jun 2013 23:35:55 +0200 (CEST) Original-Received: from pluto (reverse-83.fdn.fr [80.67.176.83]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 178F0C3E; Sun, 9 Jun 2013 23:35:55 +0200 (CEST) X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 21 Prairial 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: <87k3m39e8t.fsf@pobox.com> (Andy Wingo's message of "Sun, 09 Jun 2013 23:16:18 +0200") 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:10419 Archived-At: Andy Wingo skribis: > On Sun 09 Jun 2013 22:33, ludo@gnu.org (Ludovic Court=C3=A8s) writes: > >> However, that warning doesn=E2=80=99t take into account the signal threa= d, nor >> the GC thread (if any). So, although that seems unlikely, there could >> still be issues, for instance if the =E2=80=98scm_fork=E2=80=99 call hap= pens while >> =E2=80=98signal_delivery_thread_mutex=E2=80=99 is locked. > > In theory the signal thread is counted among the threads -- iirc anyway. Apparently no, because =E2=80=98scm_fork=E2=80=99 uses =E2=80=98scm_all_thr= eads=E2=80=99, which explicitly =E2=80=9Chides=E2=80=9D the signal thread. > The signal-handling thread is kicked off at the first call to sigaction, > which shouldn't happen there, right? Hmm, right, though it can also be spawned from =E2=80=98on_thread_exit=E2= =80=99. A better test would be: (use-modules (ice-9 match)) (sigaction SIGINT) (match (primitive-fork) (0 (gc) (primitive-exit 0)) (child (waitpid child) (exit 0))) > Also there should be no GC threads active at that point. Even with the 7.3ish marker thread thing? At any rate, that=E2=80=99s some= thing that=E2=80=99s not really under Guile=E2=80=99s control. Thanks, Ludo=E2=80=99.