[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)
Version: 0.5.0.0 (0.5.0.0)

Syntax

C#
public static int MPI_Is_thread_main(
	int* flag
)
Visual Basic (Declaration)
Public Shared Function MPI_Is_thread_main ( _
	flag As Integer* _
) As Integer
Visual C++
public:
static int MPI_Is_thread_main(
	int* flag
)

Parameters

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

See Also