diff options
author | Ludovic Courtès <ludo@gnu.org> | 2013-03-01 17:45:17 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2013-03-01 17:50:05 +0100 |
commit | 01b69e79f617db3c68b117512b6fe29978ba0ebb (patch) | |
tree | 0263e6bd8291cb7e0f762c3da4a820745e63738b /doc/ref/api-control.texi | |
parent | 0f595d7d1d57b12036bef801538163d3773567c3 (diff) | |
download | guile-01b69e79f617db3c68b117512b6fe29978ba0ebb.tar.gz |
Allow the SMOB mark procedures to be called when libgc uses parallel markers.
Fixes <http://bugs.gnu.org/13611>.
Reported by Mike Gran <spk121@yahoo.com>.
* libguile/smob.c (current_mark_stack_pointer,
current_mark_stack_limit): New variables.
(smob_mark): Use CURRENT_MARK_STACK_POINTER and
CURRENT_MARK_STACK_LIMIT instead of the same-named fields of
`SCM_I_CURRENT_THREAD'.
(scm_gc_mark): Likewise.
(scm_smob_prehistory): Initialize CURRENT_MARK_STACK_LIMIT and
CURRENT_MARK_STACK_POINTER.
* libguile/threads.h (scm_i_thread): Add comment that
`current_mark_stack_ptr' and `current_mark_stack_limit' are no longer
used.
Diffstat (limited to 'doc/ref/api-control.texi')
0 files changed, 0 insertions, 0 deletions