From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.user Subject: Re: Thread and guile environment Date: Mon, 05 Jul 2010 20:52:44 +0100 Message-ID: <87fwzxogdv.fsf@ossau.uklinux.net> References: <20100705082310.GA9492@apc> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1278359578 25386 80.91.229.12 (5 Jul 2010 19:52:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 5 Jul 2010 19:52:58 +0000 (UTC) Cc: guile-user@gnu.org To: rixed@happyleptic.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Jul 05 21:52:56 2010 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OVrip-0003Rs-3t for guile-user@m.gmane.org; Mon, 05 Jul 2010 21:52:55 +0200 Original-Received: from localhost ([127.0.0.1]:49791 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OVrio-0000Lg-K3 for guile-user@m.gmane.org; Mon, 05 Jul 2010 15:52:54 -0400 Original-Received: from [140.186.70.92] (port=41499 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OVrik-0000LQ-0f for guile-user@gnu.org; Mon, 05 Jul 2010 15:52:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OVrii-0003BP-Sy for guile-user@gnu.org; Mon, 05 Jul 2010 15:52:49 -0400 Original-Received: from mail3.uklinux.net ([80.84.72.33]:55762) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OVrii-0003BC-MZ for guile-user@gnu.org; Mon, 05 Jul 2010 15:52:48 -0400 Original-Received: from arudy (unknown [92.29.72.223]) by mail3.uklinux.net (Postfix) with ESMTP id DA7E61F664E; Mon, 5 Jul 2010 20:52:46 +0100 (BST) Original-Received: from arudy (unknown [192.168.11.8]) by arudy (Postfix) with ESMTP id E92FF38013; Mon, 5 Jul 2010 20:52:44 +0100 (BST) In-Reply-To: <20100705082310.GA9492@apc> (rixed@happyleptic.org's message of "Mon, 5 Jul 2010 10:23:11 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:7960 Archived-At: rixed@happyleptic.org writes: > Suppose I have a multithreaded C program. Isn't the guile environment supposed > to be shared amongst all threads ? That's what I understood from reading the > docs anyway. > > Yet this simple exemple shows the opposite (see the 3 attached files). > So am I supposed to source my global scheme definitions in all threads ? Hm. I think I recall a bug to do with different threads starting in different modules. Does it work if you add (define-module (guile-user)) at the start of your bug.scm ? Neil