IOSchedulerJob.pushJob

Schedules the I/O job to run. 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 g_cancellable_cancel() or by calling g_io_scheduler_cancel_all_jobs().

Parameters

jobFunc GIOSchedulerJobFunc

a GIOSchedulerJobFunc.

userData void*

data to pass to job_func

notify GDestroyNotify

a GDestroyNotify for user_data, or NULL

ioPriority int

the I/O priority of the request.

cancellable Cancellable

optional GCancellable object, NULL to ignore.

Meta