1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-18 17:50:29 +02:00

Introduce scm_i_marking to detect when GC mark bits are touched

outside of marking stage.
This commit is contained in:
Han-Wen Nienhuys 2008-08-16 11:57:27 -03:00
parent e89b7b3625
commit d09752ffd1
3 changed files with 15 additions and 2 deletions

View file

@ -191,6 +191,11 @@ int scm_i_gc_grow_heap_p (scm_t_cell_type_statistics * freelist);
/*
gc-mark
*/
/* this can be used to ensure that set/clear gc marks only happen when
allowed. */
int scm_i_marking;
void scm_mark_all (void);
/*