From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Greg Troxel Newsgroups: gmane.lisp.guile.user Subject: Re: to serialize/deserialize closures; and multithreading Date: 25 Mar 2004 07:40:29 -0500 Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1080222101 16193 80.91.224.253 (25 Mar 2004 13:41:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 25 Mar 2004 13:41:41 +0000 (UTC) Cc: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Mar 25 14:41:36 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1B6V72-0001Wq-00 for ; Thu, 25 Mar 2004 14:41:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B6UFC-0008MP-JJ for guile-user@m.gmane.org; Thu, 25 Mar 2004 07:45:58 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B6UEf-0008Ly-Uh for guile-user@gnu.org; Thu, 25 Mar 2004 07:45:25 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B6UE8-0008Jc-50 for guile-user@gnu.org; Thu, 25 Mar 2004 07:45:23 -0500 Original-Received: from [192.1.100.210] (helo=fnord.ir.bbn.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.30) id 1B6U9y-0007rh-AK for guile-user@gnu.org; Thu, 25 Mar 2004 07:40:34 -0500 Original-Received: by fnord.ir.bbn.com (Postfix, from userid 10853) id 1A1571FB5; Thu, 25 Mar 2004 07:40:29 -0500 (EST) Original-To: Nicholas Paul Johnson In-Reply-To: Original-Lines: 14 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.4 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 Xref: main.gmane.org gmane.lisp.guile.user:2994 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:2994 1. If I have a scheme value that is a closure, is there any way that I can serialize this closure (from C code) into a form that it can be deserialized back into a SCM closure variable (again, by C code)? I can assume for this question that both ends of the serial line are running the same version of gnu guile and my software, but cannot assume that both ends are running on the same computer architecture. Would it instead only be possible for me to transfer closures as their scheme source. I'm not even sure it is well-defined what it means to migrate a closure. Should a mutation on the new computer of a captured variable affect the old computer? -- Greg Troxel _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user