Function

Gio-2.0Gioio_scheduler_push_jobDeprecated 2.36

  • 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 g_cancellable_cancel() or by calling g_io_scheduler_cancel_all_jobs().

    Parameters

    Returns void

    since 2.36: use GLib.ThreadPool or g_task_run_in_thread()