ILNumerics Ultimate VS

ThreadPoolQueueUserWorkItem Method

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Enqueue a new work item for parallel processing in a worker thread.

[ILNumerics Core Module]

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

public static bool QueueUserWorkItem(
	uint id,
	Action<IntPtr> action,
	IntPtr data
)

Parameters

id
Type: SystemUInt32
The id /index of the target thread.
action
Type: SystemActionIntPtr
Delegate with the work definition.
data
Type: SystemIntPtr
Data to be send to the delegate for processing.

Return Value

Type: Boolean
True if the work chunk has been successfully enqueded and is ready for processing.
Remarks

[ILNumerics Core Module]

See Also

Reference