Runs task_func in another thread, and waits for it to return or be
cancelled. You can use g_task_propagate_pointer(), etc, afterward
to get the result of task_func.
See GTaskThreadFunc for more details about how task_func is handled.
Normally this is used with tasks created with a NULL
callback, but note that even if the task does
have a callback, it will not be invoked when task_func returns.
Since 2.36
Runs task_func in another thread, and waits for it to return or be cancelled. You can use g_task_propagate_pointer(), etc, afterward to get the result of task_func. See GTaskThreadFunc for more details about how task_func is handled. Normally this is used with tasks created with a NULL callback, but note that even if the task does have a callback, it will not be invoked when task_func returns. Since 2.36