[ CCode ( cname = "g_io_scheduler_push_job" ) ]
[ Version ( deprecated = true ) ]
public static void push (owned IOSchedulerJobFunc job_func, int io_priority = DEFAULT, Cancellable? cancellable = null)
Warning: push is deprecated.
Schedules the I/O job to run in another thread.
use ThreadPool or run_in_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
cancel or by calling
cancel_all.
job_func | |
io_priority |
the I/O priority of the request. |
cancellable |
optional Cancellable object, null to ignore. |
notify |
a DestroyNotify for |
user_data |
data to pass to |