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

Determines whether the calling thread is the main MPI thread. Will return true for the thread that called the Environment constructor to initialize MPI. The main thread is particularly important when the threading mode is Funneled, because in that model only the main thread can invoke MPI routines.

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


public static bool IsMainThread { get; }
Visual Basic (Declaration)
Public Shared ReadOnly Property IsMainThread As Boolean
Visual C++
static property bool IsMainThread {
	bool get ();

See Also