* gc.c (scm_igc): Added SCM_THREAD_CRITICAL_SECTION_START and
authorMikael Djurfeldt <djurfeldt@nada.kth.se>
Tue, 1 Oct 1996 03:19:14 +0000 (03:19 +0000)
committerMikael Djurfeldt <djurfeldt@nada.kth.se>
Tue, 1 Oct 1996 03:19:14 +0000 (03:19 +0000)
commitd564d7538e5beb92a7727502fc64ea18cca7ddb9
treea8c2b94411e605d7a2e83915fc1be3f02eb450bb
parentd6462fbebb47423f070c7defc099366501c7b1a4
* gc.c (scm_igc): Added SCM_THREAD_CRITICAL_SECTION_START and
SCM_THREAD_CRITICAL_SECTION_END.  Moved marking of root data to
root.c:mark_root.

* * root.c, root.h: Added root smob.
(cwdr, scm_call_with_new_root, scm_dynamic_root, scm_app_wdr): New
functions: Implements dynamic roots mostly according to spec in
SCM manual.  Main difference is that the second argument is a
throw handler rather than an error "thunk".

* root.c: Added #include "genio.h", #include "smob.h", #include
"pairs.h", #include "throw.h", #include "dynwind.h", #include
"eval.h"
(scm_init_root): Added #include "root.x".
libguile/root.c