GCancellable: drop lock for callback during connect()
authorRyan Lortie <desrt@desrt.ca>
Mon, 28 Oct 2013 18:44:16 +0000 (11:44 -0700)
committerColin Walters <walters@verbum.org>
Tue, 29 Oct 2013 14:49:48 +0000 (10:49 -0400)
commitc8aba61713ec0f674fa0dc986db3b2db3cdd0c41
tree0457034e538ded6eab9ba137ffdcd8f1d9c48867
parent61e8e1cd02cc9b9ae8917262ecc17633312b7683
GCancellable: drop lock for callback during connect()

Don't hold the lock when calling the user's callback during
g_cancellable_connect() for the case that the cancellable has already
fired.

Taken from a patch by Alex Larsson.

Doc updates from Colin Walters.

https://bugzilla.gnome.org/show_bug.cgi?id=705395
gio/gcancellable.c