Table of Contents

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

constructArguments ConstructArgument[]

SharedTaskPool(CreationData)

[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected SharedTaskPool(CreationData data)

Parameters

data CreationData

SharedTaskPool(SharedTaskPoolHandle)

protected SharedTaskPool(SharedTaskPoolHandle handle)

Parameters

handle SharedTaskPoolHandle

Methods

GetGType()

public static Type GetGType()

Returns

Type

GetMaxThreads()

[Version("1.20")]
public uint GetMaxThreads()

Returns

uint

New()

[Version("1.20")]
public static SharedTaskPool New()

Returns

SharedTaskPool

NewFromPointer(nint, bool)

Creates a new managed SharedTaskPool instance for a given pointer.

public static SharedTaskPool NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

SharedTaskPool

NewWithProperties(ConstructArgument[])

Creates a new SharedTaskPool and sets the properties specified by the construct arguments.

public static SharedTaskPool NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

SharedTaskPool

SetMaxThreads(uint)

[Version("1.20")]
public void SetMaxThreads(uint maxThreads)

Parameters

maxThreads uint