From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark H Weaver Newsgroups: gmane.lisp.guile.user Subject: Re: libguile thread safety Date: Tue, 18 Mar 2014 11:22:13 -0400 Message-ID: <878us7sfa2.fsf@yeeloong.lan> References: <20140103233407.36382e5f@bother.homenet> <8738l41p8r.fsf@netris.org> <20140104124459.6c604ae1@bother.homenet> <87y52vzgfc.fsf@netris.org> <20140104210118.3564073f@bother.homenet> <20140104233120.77b0edaa@bother.homenet> <87k3eexrc6.fsf@netris.org> <20140318104904.69e75af7@bother.homenet> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1395156193 8230 80.91.229.3 (18 Mar 2014 15:23:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Mar 2014 15:23:13 +0000 (UTC) Cc: guile-user@gnu.org To: Chris Vine Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Tue Mar 18 16:23:21 2014 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 1WPvrK-0003mP-At for guile-user@m.gmane.org; Tue, 18 Mar 2014 16:23:18 +0100 Original-Received: from localhost ([::1]:35922 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPvrJ-00048h-SW for guile-user@m.gmane.org; Tue, 18 Mar 2014 11:23:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33667) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPvr3-000472-GI for guile-user@gnu.org; Tue, 18 Mar 2014 11:23:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WPvqw-00048k-U9 for guile-user@gnu.org; Tue, 18 Mar 2014 11:23:01 -0400 Original-Received: from world.peace.net ([96.39.62.75]:51955) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPvqw-00047V-Pu for guile-user@gnu.org; Tue, 18 Mar 2014 11:22:54 -0400 Original-Received: from 209-6-91-212.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com ([209.6.91.212] helo=yeeloong.lan) by world.peace.net with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1WPvqf-0002S3-J8; Tue, 18 Mar 2014 11:22:38 -0400 In-Reply-To: <20140318104904.69e75af7@bother.homenet> (Chris Vine's message of "Tue, 18 Mar 2014 10:49:04 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 96.39.62.75 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:11126 Archived-At: Chris Vine writes: > Has thread-safe module loading turned out to be too difficult to do, or > is it still something that is likely to happen in the future? I consider this to be an important issue, and I still intend to fix it. However, fixing it in such a way that I could confidently believe would not cause problems for existing users (who might do unusual things with Guile's module system) is indeed non-trivial. On the other hand, the lack of thread-safety in module loading doesn't seem to be causing problems for most users in practice. I suspect this is because most programs load their modules during initialization, and rarely (if ever) load modules afterwards. Therefore, I'm considering fixing this in git master, which will become Guile 2.2, and not in the stable-2.0 branch. What do you think? Mark