Class
DexScheduler
Description [src]
abstract class Dex.Scheduler : GObject.TypeInstance
{
/* No available fields */
}
DexScheduler is the base class used by schedulers.
Schedulers are responsible for ensuring asynchronous IO requests and
completions are processed. They also schedule closures to be run as part
of future result propagation. Additionally, they manage DexFiber
execution and suspension.
Specialized schedulers such as DexThreadPoolScheduler will do this
for a number of threads and dispatch new work between them.
Functions
dex_scheduler_ref_thread_default
Gets the thread default scheduler with the reference count incremented.
Instance methods
dex_scheduler_spawn_coroutine
Request scheduler to spawn a DexCoroutine and execute
func with user data.
unstable since: 1.2
dex_scheduler_spawnv
Same as dex_scheduler_spawn() but trampolines into a fiber without having to
create special structures on the way there.