GCancellable is a thread-safe operation cancellation stack used throughout GIO to allow for cancellation of synchronous and asynchronous operations.
cancellable to cancelled, and will emit the
cancelled signal. (However, see the warning about race conditions in the
documentation for that signal if you are planning to connect to it.)
cancellable is cancelled.
cancellable; this can be passed to g_poll and used to poll for cancellation. This is useful both for unix
systems without a native poll and for portability to windows.
cancellable off the cancellable stack (verifying that cancellable is on
the top of the stack).
cancellable onto the cancellable stack. The current cancellable can then be received
using get_current.
cancellable to its uncancelled state.
cancellable is cancelled, sets the error to notify that the operation was cancelled.
cancellable is cancelled and calls its callback of type
CancellableSourceFunc. This is primarily useful for attaching to
another (non-cancellable) source with g_source_add_child_source to add cancellability to it.
