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.7503.3146)

protected override void Dispose(
	bool manual


Type: SystemBoolean

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