From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.lisp.guile.devel Subject: doco scm_remember_upto_1 Date: Thu, 22 May 2003 09:15:53 +1000 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <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 1053560255 18512 80.91.224.249 (21 May 2003 23:37:35 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 21 May 2003 23:37:35 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu May 22 01:37:25 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 19Id9A-0004nj-00 for ; Thu, 22 May 2003 01:37:24 +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 19Icvx-0004f0-Hb for guile-devel@m.gmane.org; Wed, 21 May 2003 19:23:45 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19Icvc-0004eW-Gb for guile-devel@gnu.org; Wed, 21 May 2003 19:23:24 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19Icud-0004Ux-HW for guile-devel@gnu.org; Wed, 21 May 2003 19:22:54 -0400 Original-Received: from snoopy.pacific.net.au ([61.8.0.36]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19Icog-0003kv-Nu for guile-devel@gnu.org; Wed, 21 May 2003 19:16:15 -0400 Original-Received: from sunny.pacific.net.au (sunny.pacific.net.au [203.2.228.40]) h4LNG3xh022195 for ; Thu, 22 May 2003 09:16:03 +1000 Original-Received: from wisma.pacific.net.au (wisma.pacific.net.au [210.23.129.72]) by sunny.pacific.net.au with ESMTP id h4LNG2Qg017397 for ; Thu, 22 May 2003 09:16:02 +1000 (EST) Original-Received: from localhost (ppp119.dyn228.pacific.net.au [203.143.228.119]) by wisma.pacific.net.au (8.12.9/8.12.9) with ESMTP id h4LNG1YZ007997 for ; Thu, 22 May 2003 09:16:02 +1000 (EST) Original-Received: from gg by localhost with local (Exim 3.35 #1 (Debian)) id 19IcoN-0008Uo-00; Thu, 22 May 2003 09:15:55 +1000 Original-To: guile-devel@gnu.org Mail-Copies-To: never User-Agent: Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.2 (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:2417 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:2417 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 was going to write some words about scm_remember_upto_1. I was going to have a new "map_image" to illustrate the point, then wondered whether clear_image ought already show it. Either that or it's an example of when not needed. I'm assuming since scm_remember_upto_1 is mentioned in the 1.6 NEWS that it's a documented (or meant to be documented) feature. _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel