summaryrefslogtreecommitdiff
path: root/libguile/gc-malloc.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2011-11-29 20:26:40 +0100
committerAndy Wingo <wingo@pobox.com>2011-11-29 20:26:40 +0100
commit9f7537dcabbded64afd631c0d57c84aced8173c5 (patch)
tree9525e923f83ab9d31c31f65b6badb0b260db2b61 /libguile/gc-malloc.c
parent7a4eb5e5ece4ec456a4d0974463393199094708c (diff)
downloadguile-9f7537dcabbded64afd631c0d57c84aced8173c5.tar.gz
collect a little in call-with-new-thread
* libguile/threads.c (scm_call_with_new_thread): Collect a little before making a new thread. Our adjust_gc_frequency hack doesn't work well if the main allocation load is thread creation, as in https://savannah.gnu.org/bugs/?34140. This does not appreciably affect the speed of the test in that bug, but does effectively limit the image size.
Diffstat (limited to 'libguile/gc-malloc.c')
0 files changed, 0 insertions, 0 deletions