make static hash table access thread-safe in foreign.c
authorAndy Wingo <wingo@pobox.com>
Thu, 10 Feb 2011 20:06:55 +0000 (21:06 +0100)
committerAndy Wingo <wingo@pobox.com>
Thu, 10 Feb 2011 22:16:51 +0000 (23:16 +0100)
commit05e7481311957b8fdbc61275cac6584bdef061ca
tree4daf38967a94554955a41df1c36e1aedc9f8ca23
parentc46345e69e862823629c0e108d907b5a9638fadc
make static hash table access thread-safe in foreign.c

* libguile/foreign.c (register_weak_reference): Wrap static hash table
  access in a mutex.
libguile/foreign.c