From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Marius Vollmer Newsgroups: gmane.lisp.guile.user Subject: Re: Some introductory docs about C level threading Date: Mon, 24 Jan 2005 20:28:36 +0100 Message-ID: References: <20050122123719.GA15432@www> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1106596141 1888 80.91.229.6 (24 Jan 2005 19:49:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 24 Jan 2005 19:49:01 +0000 (UTC) Cc: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Jan 24 20:48:48 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CtACd-0004ww-00 for ; Mon, 24 Jan 2005 20:48:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CtAOr-0002vT-3K for guile-user@m.gmane.org; Mon, 24 Jan 2005 15:01:25 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CtAMK-00020B-Hg for guile-user@gnu.org; Mon, 24 Jan 2005 14:58:50 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CtAMD-0001vz-L2 for guile-user@gnu.org; Mon, 24 Jan 2005 14:58:41 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CtAMD-0001qV-Dv for guile-user@gnu.org; Mon, 24 Jan 2005 14:58:41 -0500 Original-Received: from [129.217.163.1] (helo=mail.dt.e-technik.uni-dortmund.de) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Ct9t8-0004tn-1n for guile-user@gnu.org; Mon, 24 Jan 2005 14:28:38 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by mail.dt.e-technik.uni-dortmund.de (Postfix) with ESMTP id 75D2D44234; Mon, 24 Jan 2005 20:28:37 +0100 (CET) Original-Received: from mail.dt.e-technik.uni-dortmund.de ([127.0.0.1]) by localhost (krusty [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 01549-01; Mon, 24 Jan 2005 20:28:36 +0100 (CET) Original-Received: from troy.dt.e-technik.uni-dortmund.de (troy.dt.e-technik.uni-dortmund.de [129.217.163.17]) by mail.dt.e-technik.uni-dortmund.de (Postfix) with ESMTP id CEC0344232; Mon, 24 Jan 2005 20:28:36 +0100 (CET) Original-Received: by troy.dt.e-technik.uni-dortmund.de (Postfix, from userid 520) id 917CAB986; Mon, 24 Jan 2005 20:28:36 +0100 (CET) Original-To: tomas@fabula.de In-Reply-To: <20050122123719.GA15432@www> (tomas@fabula.de's message of "Sat, 22 Jan 2005 13:37:20 +0100") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) X-Virus-Scanned: by amavisd-new at dt.e-technik.uni-dortmund.de 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: main.gmane.org gmane.lisp.guile.user:4151 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:4151 tomas@fabula.de writes: >> For some comming blocking operations, Guile provides convenience > ^^^^^^^ > coming? common? (I guess second) 'Common', thanks! > I'm not much into Guile these days, so sorry if I'm asking the > obvious: is there a function to defer something to a safe point? > (like I'm `outside Guile', say in a signal handler and want to do > some things there and leave others for when I'm at a safe point and > say scm_execute_at_safe_point(closure). Right now, you can only queue asynchronous execution from within Guile, but we should probably offer a way to do this from outside Guile. The problem is that outside of Guile, you can not deal with SCM values at all, so we would have to package up an opaque object that contains all information while in guile mode, which could then be triggered from outside of guile. > The implementation itself has to have this, of course. Yes, via some magic. Might be worth it to package up this magic as outlines above. Anyone? :-) _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user