Class SharedTaskPool
- Namespace
- Gst
- Assembly
- Gst-1.0.dll
public class SharedTaskPool : TaskPool, IDisposable, NativeObject, GTypeProvider, InstanceFactory
- Inheritance
-
SharedTaskPool
- Implements
- Inherited Members
Constructors
SharedTaskPool(params ConstructArgument[])
[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public SharedTaskPool(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
SharedTaskPool(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected SharedTaskPool(CreationData data)
Parameters
dataCreationData
SharedTaskPool(SharedTaskPoolHandle)
protected SharedTaskPool(SharedTaskPoolHandle handle)
Parameters
handleSharedTaskPoolHandle
Methods
GetGType()
public static Type GetGType()
Returns
GetMaxThreads()
[Version("1.20")]
public uint GetMaxThreads()
Returns
New()
[Version("1.20")]
public static SharedTaskPool New()
Returns
NewFromPointer(nint, bool)
Creates a new managed SharedTaskPool instance for a given pointer.
public static SharedTaskPool NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new SharedTaskPool and sets the properties specified by the construct arguments.
public static SharedTaskPool NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
SetMaxThreads(uint)
[Version("1.20")]
public void SetMaxThreads(uint maxThreads)
Parameters
maxThreadsuint