* gc-malloc.c (malloc_mutex): New mutex.
authorMikael Djurfeldt <djurfeldt@nada.kth.se>
Tue, 10 Dec 2002 20:09:45 +0000 (20:09 +0000)
committerMikael Djurfeldt <djurfeldt@nada.kth.se>
Tue, 10 Dec 2002 20:09:45 +0000 (20:09 +0000)
commit3cdde9d66789df427a36da3627d4f7f8731587fc
treeaf94b2f1413b4cd97011381e9baec40924a0f1f8
parent5b5947a2b5114bf4fe27abad997be7649e03d88a
* gc-malloc.c (malloc_mutex): New mutex.
(scm_gc_init_malloc): 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.)
libguile/ChangeLog
libguile/gc-malloc.c