Add helpers for connecting/disconnecting to cancelled signal
authorAlexander Larsson <alexl@redhat.com>
Mon, 20 Apr 2009 11:12:08 +0000 (13:12 +0200)
committerAlexander Larsson <alexl@redhat.com>
Mon, 20 Apr 2009 11:17:03 +0000 (13:17 +0200)
commit0001014c378636e5848f4b3d8f38fc7a84c33b22
tree029762b6b0ed5e7c785db76842cd34980b2cf2fb
parentc17d4dd117db554e501a18a41de53734f7f87003
Add helpers for connecting/disconnecting to cancelled signal

There are race conditions when connecting and disconnecting from the
"cancelled" signal on GCancellable which you need to do when
implementing cancellable operations. This adds helper functions that
avoid these races and mentions these races in the docs. (#572844)
docs/reference/gio/gio-sections.txt
gio/gcancellable.c
gio/gcancellable.h
gio/gio.symbols