Top | ![]() |
![]() |
![]() |
![]() |
void | (*IdeThreadFunc) () |
void | ide_thread_pool_push () |
void | ide_thread_pool_push_with_priority () |
void | ide_thread_pool_push_task () |
void ide_thread_pool_push (IdeThreadPoolKind kind
,IdeThreadFunc func
,gpointer func_data
);
Runs the callback on the thread pool thread.
kind |
the threadpool kind to use. |
|
func |
A function to call in the worker thread. |
[scope async][closure func_data] |
func_data |
user data for |
Since: 3.32
void ide_thread_pool_push_with_priority (IdeThreadPoolKind kind
,gint priority
,IdeThreadFunc func
,gpointer func_data
);
Runs the callback on the thread pool thread.
kind |
the threadpool kind to use. |
|
priority |
the priority for func |
|
func |
A function to call in the worker thread. |
[scope async][closure func_data] |
func_data |
user data for |
Since: 3.32
void ide_thread_pool_push_task (IdeThreadPoolKind kind
,GTask *task
,GTaskThreadFunc func
);
This pushes a task to be executed on a worker thread based on the task kind as denoted by
kind
. Some tasks will be placed on special work queues or throttled based on priority.
kind |
The task kind. |
|
task |
a GTask to execute. |
|
func |
The thread worker to execute for |
[scope async] |
Since: 3.32