GVariant: avoid locking in a common case
authorRyan Lortie <desrt@desrt.ca>
Tue, 26 Oct 2010 15:49:32 +0000 (11:49 -0400)
committerRyan Lortie <desrt@desrt.ca>
Tue, 26 Oct 2010 15:49:32 +0000 (11:49 -0400)
commit181982c47cde49b3aff2293729f5aee5987db8af
treeae64c3e17ae3e01e135d10e1645209c1e976ac17
parente0caf4fd5ee82cc25806e7e86af14a8bf881c513
GVariant: avoid locking in a common case

Avoid acquiring the lock on the instance on the case of deserialising a
child.  We know that it is safe to do this unlocked because a serialised
child will never become unserialised.

Closes #626320
glib/gvariant-core.c