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

Syntax

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

See Also