From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?iso-8859-1?Q?Court=E8s?=) Newsgroups: gmane.lisp.guile.devel Subject: Re: wip-threads-and-fork Date: Sat, 03 Mar 2012 22:20:46 +0100 Message-ID: <8762el5qkx.fsf@gnu.org> References: <877gzx0ye0.fsf@pobox.com> <878vjupmw7.fsf@pobox.com> <87ipixoajf.fsf@pobox.com> <87sjhx1cii.fsf@gnu.org> <87r4xg8vk0.fsf@pobox.com> <87boog6rnm.fsf@inria.fr> <87mx7xd4s0.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: dough.gmane.org 1330809678 2338 80.91.229.3 (3 Mar 2012 21:21:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 3 Mar 2012 21:21:18 +0000 (UTC) Cc: guile-devel@gnu.org To: Andy Wingo Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Mar 03 22:21:17 2012 Return-path: Envelope-to: guile-devel@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 1S3wOA-0000g7-Om for guile-devel@m.gmane.org; Sat, 03 Mar 2012 22:21:14 +0100 Original-Received: from localhost ([::1]:58784 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3wOA-0006zY-2e for guile-devel@m.gmane.org; Sat, 03 Mar 2012 16:21:14 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:38453) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3wNp-0006rA-4W for guile-devel@gnu.org; Sat, 03 Mar 2012 16:21:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S3wNn-0008DG-5k for guile-devel@gnu.org; Sat, 03 Mar 2012 16:20:52 -0500 Original-Received: from xanadu.aquilenet.fr ([88.191.123.111]:49973) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3wNm-0008D7-W9 for guile-devel@gnu.org; Sat, 03 Mar 2012 16:20:51 -0500 Original-Received: from localhost (xanadu.aquilenet.fr [127.0.0.1]) by xanadu.aquilenet.fr (Postfix) with ESMTP id 703157024; Sat, 3 Mar 2012 22:20:48 +0100 (CET) Original-Received: from xanadu.aquilenet.fr ([127.0.0.1]) by localhost (xanadu.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fp7AeHfGZ-ax; Sat, 3 Mar 2012 22:20:48 +0100 (CET) Original-Received: from pluto (reverse-83.fdn.fr [80.67.176.83]) by xanadu.aquilenet.fr (Postfix) with ESMTPSA id C7C646FD5; Sat, 3 Mar 2012 22:20:47 +0100 (CET) X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 14 =?iso-8859-1?Q?Vent=F4se?= an 220 de la =?iso-8859-1?Q?R=E9volution?= 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: <87mx7xd4s0.fsf@pobox.com> (Andy Wingo's message of "Sat, 03 Mar 2012 17:32:15 +0100") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.93 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 88.191.123.111 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:13993 Archived-At: Hey! Andy Wingo skribis: > How do you feel about raising an error if primitive-fork is called, and > there are other threads running? I think I=E2=80=99d prefer a solution where libguile-internal threads and l= ocks are suitably handled upon fork (basically what wip-threads-and-fork does), and where users are provided with mechanisms to do the same at their level=E2=80=93which boils down to exposing pthread_atfork. WDYT? Thanks, Ludo=E2=80=99.