From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Rob Browning Newsgroups: gmane.lisp.guile.devel Subject: Re: doco scm_remember_upto_1 Date: Thu, 22 May 2003 02:07:39 -0500 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <87wugjqx1g.fsf@raven.i.defaultvalue.org> References: <87wugjhowm.fsf@zip.com.au> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1053587316 13147 80.91.224.249 (22 May 2003 07:08:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 22 May 2003 07:08:36 +0000 (UTC) Cc: marius.vollmer@uni-dortmund.de Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu May 22 09:08:33 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19IkBK-0003Os-00 for ; Thu, 22 May 2003 09:08:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19IkCb-000088-Ad for guile-devel@m.gmane.org; Thu, 22 May 2003 03:09:25 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19IkC1-0007aY-8Q for guile-devel@gnu.org; Thu, 22 May 2003 03:08:49 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19IkBO-0005iR-73 for guile-devel@gnu.org; Thu, 22 May 2003 03:08:41 -0400 Original-Received: from dsl093-098-016.wdc1.dsl.speakeasy.net ([66.93.98.16] helo=defaultvalue.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19IkAv-0004bH-Cn for guile-devel@gnu.org; Thu, 22 May 2003 03:07:41 -0400 Original-Received: from raven.i.defaultvalue.org (raven.i.defaultvalue.org [192.168.1.7]) by defaultvalue.org (Postfix) with ESMTP id C351414460; Thu, 22 May 2003 02:07:39 -0500 (CDT) Original-Received: by raven.i.defaultvalue.org (Postfix, from userid 1000) id 44B33215002; Thu, 22 May 2003 02:07:39 -0500 (CDT) Original-To: guile-devel@gnu.org In-Reply-To: <87wugjhowm.fsf@zip.com.au> (Kevin Ryde's message of "Thu, 22 May 2003 09:15:53 +1000") User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Developers list for Guile, the GNU extensibility library List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:2421 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:2421 Kevin Ryde writes: > In the "Type checking" node of the manual showing the clear_image > example smob code, should that function have an scm_remember_upto_1 > just before returning, in order to keep image_smob visible to a > garbage collect that might run in another thread? (I'm looking at the 1.6 docs) Marius may need to comment here, but I was under the impression that at the moment we haven't been trying to write all the code to accomodate a C-side preemptive GC. This means that you don't need a "remember" if there are no intervening calls (usually just scheme calls) that could cause a GC. -- Rob Browning rlb @defaultvalue.org and @debian.org; previously @cs.utexas.edu GPG starting 2002-11-03 = 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4 _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel