ILNumerics Ultimate VS

MemoryHandleDispose Method

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Attempt to dispose this handle, releasing the resource the handle is referencing.

[ILNumerics Core Module]

Namespace:  ILNumerics.Core.MemoryLayer
Assembly:  ILNumerics.Core (in ILNumerics.Core.dll) Version: 5.5.0.0 (5.5.7503.3146)
Syntax

protected override void Dispose(
	bool manual
)

Parameters

manual
Type: SystemBoolean
Remarks

Dispose(Boolean) is implemented in a way that the first thread executing this method is releasing the underlying resource and marks this handle as invalid. Note, that ReleaseHandle(IntPtr) is called exactly once (by this first thread only). Care must be taken if the resource is managed by reference counting and multiple references exist.

This method is threadsafe.

[ILNumerics Core Module]

See Also

Reference