[test/object] Test user_data with destroy() callback that calls user_data
authorBehdad Esfahbod <behdad@behdad.org>
Tue, 10 May 2011 23:00:07 +0000 (19:00 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Tue, 10 May 2011 23:00:07 +0000 (19:00 -0400)
commit6a9093cc486c1899197cd7cc9a3eb907c2e756f7
treeb40a73499667564f1daa137f0e1b9769226e12f2
parentabe636b8761e47ea60b193c7e72a044de224d172
[test/object] Test user_data with destroy() callback that calls user_data

Exposes the non-atomicity of user_data opertaions at this time because
we call finish() while still locked and modifying the object.  In fact,
I'm surprised that it doesn't deadlock.  It should.
test/test-object.c