From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28055 invoked by alias); 1 Sep 2014 16:18:57 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 28015 invoked by uid 89); 1 Sep 2014 16:18:52 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: hera.aquilenet.fr Received: from hera.aquilenet.fr (HELO hera.aquilenet.fr) (141.255.128.1) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 01 Sep 2014 16:18:50 +0000 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 6882938C9; Mon, 1 Sep 2014 18:18:46 +0200 (CEST) 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 R7+5shA6Xbx9; Mon, 1 Sep 2014 18:18:46 +0200 (CEST) Received: from pluto (pluto.bordeaux.inria.fr [193.50.110.57]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 295F338C3; Mon, 1 Sep 2014 18:18:46 +0200 (CEST) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Eli Zaretskii Cc: gdb-patches@sourceware.org, guile-devel@gnu.org Subject: Re: [PATCH][PR guile/17247] Block SIGCHLD while initializing Guile References: <834mwsh2nu.fsf@gnu.org> <8338ccgj78.fsf@gnu.org> <87ppffabw8.fsf@gnu.org> <83y4u3flr2.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 15 Fructidor an 222 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 Date: Mon, 01 Sep 2014 16:18:00 -0000 In-Reply-To: <83y4u3flr2.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 01 Sep 2014 17:39:29 +0300") Message-ID: <87r3zv71qy.fsf@gnu.org> User-Agent: Gnus/5.130011 (Ma Gnus v0.11) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-SW-Source: 2014-09/txt/msg00023.txt.bz2 Eli Zaretskii skribis: >> From: ludo@gnu.org (Ludovic Court=C3=A8s) >> Date: Mon, 01 Sep 2014 12:11:19 +0200 >> Cc: guile-devel@gnu.org >>=20 >> Eli Zaretskii skribis: >>=20 >> > In GDB, Guile is just an extension language. I see no catastrophe in >> > saying there are some restrictions to what a Guile extension in GDB >> > can and cannot do. >>=20 >> That can be acceptable, but requiring users to re-build Guile and GC >> without thread support is not, IMO. > > Perhaps we should request GC and Guile to provide capabilities to > disable threads at run time, then. I don=E2=80=99t think we need to go this far: reading the recent discussion= s, it seems Doug found a way to make sure Guile=E2=80=99s and libgc=E2=80=99s int= ernal threads don=E2=80=99t receive signals that GDB is interested in, which should be en= ough for practical purposes. Ludo=E2=80=99.