From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Newsgroups: gmane.lisp.guile.user Subject: Re: Proper way of making a single-pointer smob Date: Thu, 30 May 2013 13:56:20 +0200 Message-ID: <87vc60wujf.fsf@gnu.org> References: <1369836153.73399.YahooMailNeo@web120406.mail.ne1.yahoo.com> <87ppw95u0k.fsf@gnu.org> <1369897828.49673.YahooMailNeo@web120403.mail.ne1.yahoo.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1369915011 20812 80.91.229.3 (30 May 2013 11:56:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 30 May 2013 11:56:51 +0000 (UTC) Cc: "guile-user@gnu.org" To: Mike Gran Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu May 30 13:56:50 2013 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 1Ui1TL-0006j5-Uv for guile-user@m.gmane.org; Thu, 30 May 2013 13:56:48 +0200 Original-Received: from localhost ([::1]:37801 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ui1TL-0000mz-Lk for guile-user@m.gmane.org; Thu, 30 May 2013 07:56:47 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57251) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ui1T9-0000is-8Z for guile-user@gnu.org; Thu, 30 May 2013 07:56:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ui1T3-0001JA-Sy for guile-user@gnu.org; Thu, 30 May 2013 07:56:35 -0400 Original-Received: from [2a01:e0b:1:123:ca0a:a9ff:fe03:271e] (port=59767 helo=xanadu.aquilenet.fr) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ui1T3-0001HD-Lc for guile-user@gnu.org; Thu, 30 May 2013 07:56:29 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by xanadu.aquilenet.fr (Postfix) with ESMTP id EF7E0D954; Thu, 30 May 2013 13:56:20 +0200 (CEST) Original-Received: from xanadu.aquilenet.fr ([127.0.0.1]) by localhost (xanadu.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PisManZNL4NY; Thu, 30 May 2013 13:56:20 +0200 (CEST) Original-Received: from pluto (unknown [193.50.110.217]) by xanadu.aquilenet.fr (Postfix) with ESMTPSA id ABD83D952; Thu, 30 May 2013 13:56:20 +0200 (CEST) X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 11 Prairial an 221 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu In-Reply-To: <1369897828.49673.YahooMailNeo@web120403.mail.ne1.yahoo.com> (Mike Gran's message of "Thu, 30 May 2013 00:10:28 -0700 (PDT)") User-Agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2a01:e0b:1:123:ca0a:a9ff:fe03:271e 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:10386 Archived-At: Mike Gran skribis: > So, it is probably not really a Guile bug, but, rather, that calling > scm_gc from within atexit() is a bad idea. Oh, OK. In general, I wouldn=E2=80=99t make any strong assumption as to when/whether a SMOB free function will be called. Ludo=E2=80=99.