Function

GioAsyncReadyCallback

Declaration

void
(* GAsyncReadyCallback) (
  GObject* source_object,
  GAsyncResult* res,
  gpointer user_data
)

Description [src]

Type definition for a function that will be called back when an asynchronous operation within GIO has been completed. GAsyncReadyCallback callbacks from GTask are guaranteed to be invoked in a later iteration of the [thread-default main context][g-main-context-push-thread-default] where the GTask was created. All other users of GAsyncReadyCallback must likewise call it asynchronously in a later iteration of the main context.

Parameters

source_object GObject
 

The object the asynchronous operation was started with.

 The argument can be NULL.
 The data is owned by the caller of the function.
res GAsyncResult
 

A GAsyncResult.

 The data is owned by the caller of the function.
user_data gpointer
 

User data passed to the callback.