fix deadlock in before-gc-hook on certain 7.2alpha gc versions
authorAndy Wingo <wingo@pobox.com>
Thu, 1 Dec 2011 11:57:49 +0000 (12:57 +0100)
committerAndy Wingo <wingo@pobox.com>
Thu, 1 Dec 2011 11:57:49 +0000 (12:57 +0100)
commit738c899e4c1ab9d25cfbcd1010f34e0cce400bca
tree1b89940ede7391cefbe8624ef502570b4540ffb2
parentfd51e66190bde8cef74fec9725de4da3471901c4
fix deadlock in before-gc-hook on certain 7.2alpha gc versions

* libguile/gc.c (scm_init_gc): Only adjust gc frequency in the gc start
  hook if we know that it won't take a lock.
libguile/gc.c