[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: stumped by scm_car/scm_cdr

From: Marius Vollmer
Subject: Re: stumped by scm_car/scm_cdr
Date: Mon, 18 Oct 2004 19:47:24 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

Han-Wen Nienhuys <address@hidden> 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]