SimpleAsyncResult.runInThread

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.

More...
class SimpleAsyncResult
void
runInThread

Parameters

func GSimpleAsyncThreadFunc
ioPriority int

the io priority of the request.

cancellable Cancellable

optional gio.Cancellable object, NULL to ignore.

Detailed Description

Deprecated: Use gstreamer.Task and Task.runInThread instead.