Threading
Object Hierarchy:
Description:
public interface Threading :
Object,
Queue
A structure which spawns threads
All known implementing classes:
Content:
Methods:
- public int get_idle_threads ()
Number of threads currently waiting for input
- public TimeSpan get_max_idle_time ()
Get the maximum amount of time to allow a thread to remain unused
- public int get_max_threads ()
Get the maximum number of threads to spawn
- public int get_num_threads ()
Total number of threads currently running
- public void increase_max_threads (int new_max_threads)
Update the max_threads property to the new value if it permits more
threads than the old value.
- protected bool run_task (SourceFunc func)
Run user-provided code
- public void set_max_idle_time (TimeSpan value)
Set the maximum amount of time to allow a thread to remain unused
- public void set_max_threads (int value)
Set the maximum number of threads to spawn
- protected virtual int spawn (int max_new_threads)
Possibly spawn new thread(s)
Inherited Members:
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref
All known members inherited from interface Bump.Queue