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: behaviour of scm_run_hook Date: Mon, 05 Sep 2005 23:14:32 +0100 Message-ID: <87ll2bxiuv.fsf@ossau.uklinux.net> References: <60073.24.150.125.164.1125692241.squirrel@www.math.mcmaster.ca> <87oe7ab4f2.fsf@ossau.uklinux.net> <63627.24.150.125.164.1125767053.squirrel@www.math.mcmaster.ca> <87k6hyapxg.fsf@ossau.uklinux.net> <60845.24.150.125.164.1125784894.squirrel@www.math.mcmaster.ca> <87d5npb1s5.fsf@ossau.uklinux.net> <62195.24.150.125.164.1125847306.squirrel@www.math.mcmaster.ca> <873bokzsbm.fsf@ossau.uklinux.net> <62537.24.150.125.164.1125854774.squirrel@www.math.mcmaster.ca> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1125959342 8568 80.91.229.2 (5 Sep 2005 22:29:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 5 Sep 2005 22:29:02 +0000 (UTC) Cc: guile-users@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Tue Sep 06 00:28:57 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ECPRU-0007a3-7F for guile-user@m.gmane.org; Tue, 06 Sep 2005 00:27:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ECPVv-0005vo-Es for guile-user@m.gmane.org; Mon, 05 Sep 2005 18:32:31 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ECPRg-0003Xu-HH for guile-user@gnu.org; Mon, 05 Sep 2005 18:28:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ECPRd-0003XN-Oh for guile-user@gnu.org; Mon, 05 Sep 2005 18:28:07 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ECPRS-0003D4-1d for guile-user@gnu.org; Mon, 05 Sep 2005 18:27:54 -0400 Original-Received: from [80.84.72.33] (helo=mail3.uklinux.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ECPQn-0006Kx-ES for guile-user@gnu.org; Mon, 05 Sep 2005 18:27:13 -0400 Original-Received: from laruns (host81-130-141-16.in-addr.btopenworld.com [81.130.141.16]) by mail3.uklinux.net (Postfix) with ESMTP id 02DD2409FC2 for ; Mon, 5 Sep 2005 22:23:15 +0000 (UTC) Original-Received: from laruns (laruns [127.0.0.1]) by laruns (Postfix) with ESMTP id C7B986F71C for ; Mon, 5 Sep 2005 23:23:05 +0100 (BST) Resent-To: guile-user@gnu.org Resent-From: Neil Jerram Resent-Date: Mon, 05 Sep 2005 23:23:05 +0100 Resent-Message-ID: <87fysjxigm.fsf@ossau.uklinux.net> X-From-Line: nobody Mon Sep 5 23:14:34 2005 Original-To: alberj@math.mcmaster.ca In-Reply-To: <62537.24.150.125.164.1125854774.squirrel@www.math.mcmaster.ca> (alberj@math.mcmaster.ca's message of "Sun, 4 Sep 2005 13:26:14 -0400 (EDT)") User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) Original-Lines: 14 Resent-Date: Mon, 05 Sep 2005 18:28:07 -0400 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:4719 Archived-At: alberj@math.mcmaster.ca writes: > Indeed, scm_c_run_hook() is being called from a separate thread which > processes all events, I had forgotten about that, but I can see why that > can be a problem. Is there a way to synchronize the Scheme shell with > other threads in the program ? If you're using Guile 1.7, please see section 5.3 of the manual, which describes how to use scm_with_guile. If Guile 1.6, I'm afraid I don't know - can anyone else help in this case? Neil _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user