[ CCode ( has_construct_function = false , type = "GstTaskPool*" ) ]
public SharedTaskPool ()
Create a new shared task pool.
The shared task pool will queue tasks on a maximum number of threads, 1 by default.
Do not use a SharedTaskPool to manage potentially inter-dependent tasks such as pad tasks, as having one task waiting on another to return before returning would cause obvious deadlocks if they happen to share the same thread.
a new SharedTaskPool. unref after usage. |