summaryrefslogtreecommitdiff
path: root/libguile/root.c
diff options
context:
space:
mode:
authorMikael Djurfeldt <djurfeldt@nada.kth.se>2002-12-10 20:25:26 +0000
committerMikael Djurfeldt <djurfeldt@nada.kth.se>2002-12-10 20:25:26 +0000
commit960c408c04470b0680e250b44e5273987e1aa66d (patch)
tree37dd7fa9f6fb2f906fbced731027918dcae38c8b /libguile/root.c
parent3cdde9d66789df427a36da3627d4f7f8731587fc (diff)
downloadguile-960c408c04470b0680e250b44e5273987e1aa66d.tar.gz
* gc-malloc.c, gc.h (scm_gc_malloc_prehistory): New function.
* gc-malloc.c (malloc_mutex): New mutex. (scm_gc_malloc_prehistory): Initialize it. (scm_realloc): Serialize call to realloc (scm_calloc): Same for calloc. Thanks to Wolfgang Jaehrling! (Now we have to make sure all calls to malloc/realloc are made through scm_malloc.) * init.c (scm_init_guile_1): Call scm_gc_malloc_prehistory.
Diffstat (limited to 'libguile/root.c')
0 files changed, 0 insertions, 0 deletions