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.
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.