gCancellableDisconnect {RGtk2} | R Documentation |
Disconnects a handler from an cancellable instance similar to
gSignalHandlerDisconnect
but ensures that once this
function returns the handler will not run anymore in any thread.
gCancellableDisconnect(object, handler.id)
|
A |
|
Handler id of the handler to be disconnected, or |
This avoids a race condition where a thread cancels at the same time as the cancellable operation is finished and the signal handler is removed. See
"cancelled"for details on how to use this. If
cancellable
is NULL
or handler.id
is 0
this function does
nothing.
Since 2.22
Derived by RGtkGen from GTK+ documentation