1 |
2002-12-10 Mikael Djurfeldt <mdj@kvast.blakulla.net> |
2002-12-10 Mikael Djurfeldt <mdj@kvast.blakulla.net> |
2 |
|
|
3 |
|
* gc-malloc.c (malloc_mutex): New mutex. |
4 |
|
(scm_gc_init_malloc): Initialize it. |
5 |
|
(scm_realloc): Serialize call to realloc |
6 |
|
(scm_calloc): Same for calloc. |
7 |
|
Thanks to Wolfgang Jaehrling! |
8 |
|
(Now we have to make sure all calls to malloc/realloc are made |
9 |
|
through scm_malloc.) |
10 |
|
|
11 |
* threads.c (really_launch): Release heap (to prevent deadlock). |
* threads.c (really_launch): Release heap (to prevent deadlock). |
12 |
(create_thread): Release heap before locking thread admin mutex. |
(create_thread): Release heap before locking thread admin mutex. |
13 |
|
|