TaskPool.push

Start the execution of a new thread from pool.

class TaskPool
void*
push

Parameters

func gst.types.TaskPoolFunction

the function to call

Return Value

Type: void*

a pointer that should be used for the gst_task_pool_join function. This pointer can be null, you must check error to detect errors. If the pointer is not null and gst.task_pool.TaskPool.join is not used, call gst.task_pool.TaskPool.disposeHandle instead.