SimpleAsyncResult.runInThread

Runs the asynchronous job in a separate thread and then calls g_simple_async_result_complete_in_idle() on @simple to return the result to the appropriate main loop.

Calling this function takes a reference to @simple for as long as is needed to run the job and report its completion.

More...
class SimpleAsyncResult
void
runInThread

Parameters

func GSimpleAsyncThreadFunc

a #GSimpleAsyncThreadFunc.

ioPriority int

the io priority of the request.

cancellable Cancellable

optional #GCancellable object, %NULL to ignore.

Detailed Description

Deprecated: Use #GTask and g_task_run_in_thread() instead.

Meta