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: Sat, 04 Jan 2014 16:28:16 -0500 Message-ID: <87ob3rzbbj.fsf@netris.org> References: <20140103233407.36382e5f@bother.homenet> <20140104002252.465aef65@bother.homenet> <20140104093931.00cd420d@bother.homenet> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1388871049 24302 80.91.229.3 (4 Jan 2014 21:30:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 4 Jan 2014 21:30:49 +0000 (UTC) Cc: guile-user@gnu.org To: Chris Vine Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sat Jan 04 22:30:55 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 1VzYnw-0005FO-EO for guile-user@m.gmane.org; Sat, 04 Jan 2014 22:30:48 +0100 Original-Received: from localhost ([::1]:55803 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VzYnv-0004IC-Sf for guile-user@m.gmane.org; Sat, 04 Jan 2014 16:30:47 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35894) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VzYnf-0004I3-Oo for guile-user@gnu.org; Sat, 04 Jan 2014 16:30:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VzYnZ-0006oe-AZ for guile-user@gnu.org; Sat, 04 Jan 2014 16:30:31 -0500 Original-Received: from world.peace.net ([96.39.62.75]:37894) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VzYnY-0006oa-Pm for guile-user@gnu.org; Sat, 04 Jan 2014 16:30:24 -0500 Original-Received: from 209-6-197-194.c3-0.smr-ubr2.sbo-smr.ma.cable.rcn.com ([209.6.197.194] helo=yeeloong) by world.peace.net with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1VzYnQ-000103-0o; Sat, 04 Jan 2014 16:30:16 -0500 In-Reply-To: <20140104093931.00cd420d@bother.homenet> (Chris Vine's message of "Sat, 4 Jan 2014 09:39:31 +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:10978 Archived-At: Chris Vine writes: > Unfortunately, from what Mark Weaver says, the module system doesn't > initialize itself in a thread safe way either :(. That's not quite right. It initializes itself in a thread safe way. However, _after_ initialization, it does not load modules in a thread safe way. > That is more problematic because you might not know in advance what > modules are to be loaded by any particular code. The task model isn't > suppose to import cross-dependencies of that kind. I can see that this is a serious problem, and I'm going to focus on fixing it properly and soon, hopefully in the next two weeks. Mark