From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.lisp.guile.user Subject: Re: Need for scm_remember_upto_here_* in guile-2.0 Date: Tue, 22 Sep 2015 17:26:19 +0200 Organization: Organization?!? Message-ID: <87fv26bhlw.fsf@fencepost.gnu.org> References: <20150912132725.5a5e539c@bother.homenet> <87d1xamrmz.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1442936399 1051 80.91.229.3 (22 Sep 2015 15:39:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 22 Sep 2015 15:39:59 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Tue Sep 22 17:39:52 2015 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZePfb-0001bQ-O8 for guile-user@m.gmane.org; Tue, 22 Sep 2015 17:39:51 +0200 Original-Received: from localhost ([::1]:40950 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZePfb-0007z2-5k for guile-user@m.gmane.org; Tue, 22 Sep 2015 11:39:51 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42392) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZePSj-0001Vs-D2 for guile-user@gnu.org; Tue, 22 Sep 2015 11:26:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZePSe-0002hl-77 for guile-user@gnu.org; Tue, 22 Sep 2015 11:26:33 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:33635) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZePSe-0002hR-1P for guile-user@gnu.org; Tue, 22 Sep 2015 11:26:28 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZePSc-0004FT-Jj for guile-user@gnu.org; Tue, 22 Sep 2015 17:26:26 +0200 Original-Received: from x2f3d5e0.dyn.telefonica.de ([2.243.213.224]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Sep 2015 17:26:26 +0200 Original-Received: from dak by x2f3d5e0.dyn.telefonica.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Sep 2015 17:26:26 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 15 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: x2f3d5e0.dyn.telefonica.de X-Face: 2FEFf>]>q>2iw=B6, xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN; i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:Pm4AOnKPSHMlHZjRNQUYRxyH1c4= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 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 Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:12025 Archived-At: ludo@gnu.org (Ludovic Courtès) writes: > Hello, > > In practice scm_remember_upto_here_* is useless with libgc, since libgc > also tracks pointers in registers. Sounds like a big non-sequitur. scm_remember_upto_here_* is for keeping SCM values active (including in registers). Any conversion of an SCM value to some other data depending on it will not protect the SCM value as such and may lead to collection/finalization of the SCM cell (calling guardians, removing from weak hashtables and so on). -- David Kastrup