guile-cvs
[Top][All Lists]
Advanced

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

guile/guile-core TODO NEWS


From: Marius Vollmer
Subject: guile/guile-core TODO NEWS
Date: Sun, 25 Nov 2001 14:08:28 -0500

CVSROOT:        /cvs
Module name:    guile
Changes by:     Marius Vollmer <address@hidden> 01/11/25 14:08:28

Modified files:
        guile-core     : TODO NEWS 

Log message:
        Updated for SCM_NEWCELL(2) deprecation.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/guile/guile-core/TODO.diff?cvsroot=OldCVS&tr1=1.31&tr2=1.32&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/guile/guile-core/NEWS.diff?cvsroot=OldCVS&tr1=1.329&tr2=1.330&r1=text&r2=text

Patches:
Index: guile/guile-core/NEWS
diff -u guile/guile-core/NEWS:1.329 guile/guile-core/NEWS:1.330
--- guile/guile-core/NEWS:1.329 Sun Nov 18 18:02:42 2001
+++ guile/guile-core/NEWS       Sun Nov 25 14:08:28 2001
@@ -57,6 +57,14 @@
 There are also SCM_RL_IMPORT, QT_IMPORT, SCM_SRFI1314_IMPORT, and
 SCM_SRFI4_IMPORT, for the corresponding libraries.
 
+** SCM_NEWCELL and SCM_NEWCELL2 have been deprecated.
+
+Use the new functions scm_alloc_cell and scm_alloc_double_cell
+instead.  The old macros had problems because with them allocation and
+initialization was separated and the GC could sometimes observe half
+initialized cells.  Only careful coding by the user of SCM_NEWCELL and
+SCM_NEWCELL2 could make this safe and efficient.
+
 Changes since Guile 1.4:
 
 * Changes to the distribution
Index: guile/guile-core/TODO
diff -u guile/guile-core/TODO:1.31 guile/guile-core/TODO:1.32
--- guile/guile-core/TODO:1.31  Mon Nov 19 16:43:53 2001
+++ guile/guile-core/TODO       Sun Nov 25 14:08:28 2001
@@ -99,5 +99,9 @@
 - in boot-9.scm:
   remove deprecated function `feature?ยด.
 
+- gc.c and gc.h:
+  remove deprecated macros SCM_NEWCELL and SCM_NEWCELL2 together with
+  their support staffing scm_deprecated_newcell,
+  scm_deprecated_newcell2, scm_tc16_allocated, mark_allocated.
 
 [TODO ends here]



reply via email to

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