gio.ioscheduler_job

Module for [IOSchedulerJob] class

Types 1

Opaque class for defining and scheduling IO jobs.

Deprecated

Use [glib.thread_pool.ThreadPool] or

[gio.task.Task.runInThread]

Fields
GIOSchedulerJob * _cInstancePtr
bool owned
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 ...
Constructors
this(void * ptr, Flag!"Take" take)