Runs the asynchronous job in a separate thread and then calls
SimpleAsyncResult.completeInIdle 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 SimpleAsyncResult.completeInIdle 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.