[gio.task.Task.runInThread]
gio.ioscheduler_job
Module for [IOSchedulerJob] class
class IOSchedulerJob
Types 1
classIOSchedulerJob
Opaque class for defining and scheduling IO jobs.
Deprecated
Use [glib.thread_pool.ThreadPool] or
Methods
void * _cPtr()bool sendToMainloop(glib.types.SourceFunc func)Used from an I/O job to send a callback to be run in the thread that the job was started from, waiting for the result (and thus blocking the I/O job).void sendToMainloopAsync(glib.types.SourceFunc func)Used from an I/O job to send a callback to be run asynchronously in the thread that the job was started from. The callback will be run when the main loop is available, but at that time the I/O job ...