IOSchedulerJob.pushJob

Schedules the I/O job to run in another thread.

notify will be called on user_data after job_func has returned, regardless whether the job was cancelled or has run to completion.

If cancellable is not NULL, it can be used to cancel the I/O job by calling Cancellable.cancel or by calling g_io_scheduler_cancel_all_jobs().

More...

Parameters

jobFunc GIOSchedulerJobFunc
userData void*

data to pass to job_func

notify GDestroyNotify

a GDestroyNotify for user_data, or NULL

ioPriority int

the [I/O priority][io-priority] of the request.

cancellable Cancellable

optional gio.Cancellable object, NULL to ignore.

Detailed Description