Worker
Object Hierarchy:
Description:
public class Worker : Object
Content:
Static methods:
Methods:
- public void add_task (owned ThreadFunc<void*> func, TaskPriority priority = DEFAULT)
Schedule given function to be run in our ThreadPool The given priority
influences execution-time of the task depending on the currently scheduled amount of tasks.
- public async G add_task_with_result<G> (owned TaskFunc<G> func, TaskPriority priority = DEFAULT) throws Error
Schedule given function to be run in our ThreadPool The given priority
influences execution-time of the task depending on the currently scheduled amount of tasks.
Inherited Members:
All known members inherited from class GLib.Object
- @new
- newv
- new_valist
- get_type
- get_class
- @ref
- unref
- ref_sink
- weak_ref
- weak_unref
- add_weak_pointer
- remove_weak_pointer
- @get
- @set
- get_property
- set_property
- get_data
- set_data
- set_data_full
- steal_data
- get_qdata
- set_qdata
- set_qdata_full
- steal_qdata
- freeze_notify
- thaw_notify
- dispose
- constructed
- notify_property
- connect
- disconnect
- add_toggle_ref
- remove_toggle_ref
- bind_property
- notify
- ref_count