* gc.h, gc.c (scm_i_gc_admin_mutex): New, to protect
authorMarius Vollmer <mvo@zagadka.de>
Thu, 19 Aug 2004 16:48:38 +0000 (16:48 +0000)
committerMarius Vollmer <mvo@zagadka.de>
Thu, 19 Aug 2004 16:48:38 +0000 (16:48 +0000)
commiteb01cb6494c4ccf1494ef09ccbb352b4702f7753
treebd3892af0ee095707b9bac24f0d0175214b04e8e
parentfddf60002a11cd962db15a905e86f5721eb04680
* gc.h, gc.c (scm_i_gc_admin_mutex): New, to protect
scm_gc_mallocated, for now.
(scm_init_storage): Initialize it.
* gc-malloc.c (descrease_mtrigger, increase_mtrigger): Use it.

* gc-mark.c (scm_gc_mark_dependencies): Call scm_i_string_mark,
scm_i_stringbuf_mark and scm_i_symbol_mark, as appropriate.
* gc-card.c (scm_i_sweep_card):  Call scm_i_string_free,
scm_i_stringbuf_free and scm_i_symbol_free, as appropriate.
libguile/gc-card.c
libguile/gc-malloc.c
libguile/gc-mark.c
libguile/gc.c
libguile/gc.h