ioSchedulerPushJob

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 gio.cancellable.Cancellable.cancel or by calling gio.global.ioSchedulerCancelAllJobs.

More...

Parameters

jobFunc gio.types.IOSchedulerJobFunc

a #GIOSchedulerJobFunc.

ioPriority int

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

cancellable gio.cancellable.Cancellable

optional #GCancellable object, null to ignore.

Detailed Description

Deprecated: use #GThreadPool or gio.task.Task.runInThread