From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Han-Wen Nienhuys Newsgroups: gmane.lisp.guile.devel Subject: Re: stumped by scm_car/scm_cdr Date: Sun, 24 Oct 2004 14:25:56 +0200 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <16763.40788.741482.351651@byrd.xs4all.nl> References: <16724.44532.557784.986630@byrd.xs4all.nl> <87zn3e739g.fsf@zagadka.ping.de> <16725.64761.208412.328474@byrd.xs4all.nl> <16740.33606.743452.458667@byrd.xs4all.nl> <87ekkaxjmm.fsf@zagadka.ping.de> <16741.51307.618175.489403@byrd.xs4all.nl> Reply-To: hanwen@xs4all.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1098620790 12193 80.91.229.6 (24 Oct 2004 12:26:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 24 Oct 2004 12:26:30 +0000 (UTC) Cc: jantien@xs4all.nl, guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sun Oct 24 14:26:23 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CLhS3-0005ro-00 for ; Sun, 24 Oct 2004 14:26:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CLhZd-0003Av-VY for guile-devel@m.gmane.org; Sun, 24 Oct 2004 08:34:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CLhZa-0003Ae-RV for guile-devel@gnu.org; Sun, 24 Oct 2004 08:34:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CLhZa-0003AR-8g for guile-devel@gnu.org; Sun, 24 Oct 2004 08:34:10 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CLhZa-0003AO-5W for guile-devel@gnu.org; Sun, 24 Oct 2004 08:34:10 -0400 Original-Received: from [213.84.26.127] (helo=byrd.xs4all.nl) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CLhRf-00037M-8D for guile-devel@gnu.org; Sun, 24 Oct 2004 08:25:59 -0400 Original-Received: from byrd.xs4all.nl (byrd.xs4all.nl [127.0.0.1]) by byrd.xs4all.nl (8.13.1/8.13.1) with ESMTP id i9OCPuFi002278; Sun, 24 Oct 2004 14:25:56 +0200 Original-To: Marius Vollmer In-Reply-To: X-Mailer: VM 7.14 under Emacs 21.3.1 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:4290 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:4290 marius.vollmer@uni-dortmund.de writes: > Han-Wen Nienhuys writes: > > > I've added a check to scm_cell/scm_double_cell that calls abort() if > > GC is running. > > Well, OK. Another idea is to set the freelists to NULL during GC > explicitely, thus causing scm_cell etc to call scm_gc_for_newcell > immediately, and scm_gc_for_newcell could then check whether the GC is > already running. That would not make scm_cell etc slower for the > usual case that the GC is in fact not running. Could you try that > variant? I tried to look at this, but scm_i_freelist is now a thread-specific variable. I'm unsure if and how they should all be set to null or SCM_EOL. -- Han-Wen Nienhuys | hanwen@xs4all.nl | http://www.xs4all.nl/~hanwen _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel