MT safe.
Task.join
bool join()Joins task. After this call, it is safe to unref the task and clean up the lock set with gst.task.Task.setLock.
The task will automatically be stopped with this call.
This function cannot be called from within a task function as this would cause a deadlock. The function will detect this and print a g_warning.
Returns
true if the task could be joined.