X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fgc-internal.h;h=3d43fab52c92556f82652c009f35212443cde727;hb=58513220fcf87e161a5e0d3fbadd76c45f27d584;hp=fbdda47950f3667fbf169c5bac1b533a7dd14547;hpb=237f2c62f339d84e3813ec2a3799f3e17a097d40;p=sbcl.git diff --git a/src/runtime/gc-internal.h b/src/runtime/gc-internal.h index fbdda47..3d43fab 100644 --- a/src/runtime/gc-internal.h +++ b/src/runtime/gc-internal.h @@ -19,7 +19,11 @@ #include /* disabling gc assertions made no discernable difference to GC speed, - * last I tried it - dan 2003.12.21 */ + * last I tried it - dan 2003.12.21 + * + * And it's unsafe to do so while things like gc_assert(0 == + * thread_mutex_lock(&allocation_lock)) exist. - MG 2009-01-13 + */ #if 1 # define gc_assert(ex) \ do { \ @@ -125,6 +129,8 @@ lispobj *search_dynamic_space(void *pointer); lispobj *gc_search_space(lispobj *start, size_t words, lispobj *pointer); +extern void scrub_control_stack(); + #include "fixnump.h" #ifdef LISP_FEATURE_GENCGC