Fix set implementation to be truly threadsafe even with destroy() callbacks
authorBehdad Esfahbod <behdad@behdad.org>
Tue, 10 May 2011 23:12:49 +0000 (19:12 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Tue, 10 May 2011 23:15:49 +0000 (19:15 -0400)
commit45bfa99034512e886d75b1d45a5a649647f4711f
tree30b18cada84630bf481a4d24445ce3fbd689dcab
parent0c2ec1d78bfa0166ffd4afc204c2668d4f456ed9
Fix set implementation to be truly threadsafe even with destroy() callbacks

The test/object test is passing again, instead of deadlocking.
src/hb-common.cc
src/hb-mutex-private.hh
src/hb-object-private.hh
src/hb-private.hh