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

Determine whether the calling thread is the main MPI thread (that called MPI_Init(Int32%, Byte**%) or MPI_Init_thread(Int32%, Byte**%, Int32, Int32%). See IsMainThread.

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

Syntax

C#
public static int MPI_Is_thread_main(
	out int flag
)
Visual Basic (Declaration)
Public Shared Function MPI_Is_thread_main ( _
	<OutAttribute> ByRef flag As Integer _
) As Integer
Visual C++
public:
static int MPI_Is_thread_main(
	[OutAttribute] int% flag
)

Parameters

flag
Type: System..::.Int32 %
Returns whether the calling thread is the main thread.

See Also