threadsafe addition to the goops vtable_class_map
authorAndy Wingo <wingo@pobox.com>
Tue, 24 May 2011 20:52:39 +0000 (22:52 +0200)
committerAndy Wingo <wingo@pobox.com>
Tue, 24 May 2011 20:52:39 +0000 (22:52 +0200)
commitea742d29c50c6fc4a4c03288c4ddbe33f24f1913
tree17e097516cd7b3401d543073227508e4737f2c0d
parent2f045fc1f6e53fa9bcaa821c18ec49b19560fe4e
threadsafe addition to the goops vtable_class_map

* libguile/goops.c (scm_i_define_class_for_vtable): Lock around
  additions to the vtable_class_map.  Use is unlocked though; solving
  GOOPS parallel-initialization would be a good thing.
libguile/goops.c