Task.runInThread

Runs task_func in another thread. When task_func returns, task's GAsyncReadyCallback will be invoked in task's GMainContext. This takes a ref on task until the task completes. See GTaskThreadFunc for more details about how task_func is handled. Since 2.36

class Task
void
runInThread

Parameters

taskFunc GTaskThreadFunc

a GTaskThreadFunc

Meta