[This is preliminary documentation and is subject to change.]

Test whether any of the MPI requests has completed. See TestAny()()().

Namespace:  MPI
Assembly:  MPI (in MPI.dll)
Version: 0.6.0.0 (0.6.0.0)

Syntax

C#
public static int MPI_Testany(
	int count,
	int[] array_of_requests,
	out int index,
	out int flag,
	out Unsafe..::.MPI_Status status
)
Visual Basic (Declaration)
Public Shared Function MPI_Testany ( _
	count As Integer, _
	array_of_requests As Integer(), _
	<OutAttribute> ByRef index As Integer, _
	<OutAttribute> ByRef flag As Integer, _
	<OutAttribute> ByRef status As Unsafe..::.MPI_Status _
) As Integer
Visual C++
public:
static int MPI_Testany(
	int count, 
	array<int>^ array_of_requests, 
	[OutAttribute] int% index, 
	[OutAttribute] int% flag, 
	[OutAttribute] Unsafe..::.MPI_Status% status
)

Parameters

count
Type: System..::.Int32
The number of requests in array_of_requests.
array_of_requests
Type: array< System..::.Int32 >[]()[]
An array of MPI request objects.
index
Type: System..::.Int32 %
Receives the index of the request that completed (if flag is non-zero).
flag
Type: System..::.Int32 %
Will be set to a non-zero value if a request has completed.
status
Type: MPI..::.Unsafe..::.MPI_Status %
Receives the status of the completed request (if flag is non-zero).

See Also