gst.shared_task_pool

Module for [SharedTaskPool] class

Types 3

The #GstSharedTaskPool object.

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
SharedTaskPool self() nothrowReturns `this`, for use in `with` statements.
SharedTaskPoolGidBuilder builder() static nothrowGet builder for [gst.shared_task_pool.SharedTaskPool] Returns: New builder object
uint getMaxThreads() nothrow
void setMaxThreads(uint maxThreads) nothrowUpdate the maximal number of threads the pool may spawn. When the maximal number of threads is reduced, existing threads are not immediately shut down, see [glib.thread_pool.ThreadPool.setMaxThreads].
Constructors
this(void * ptr, Flag!"Take" take)
this()Create a new shared task pool. The shared task pool will queue tasks on a maximum number of threads, 1 by default.
Methods
SharedTaskPool build() nothrowCreate object from builder. Returns: New object