Condividi tramite


IBuildEngine2.IsRunningMultipleNodes Property

Definition

This property allows a task to query whether or not the system is running in single process mode or multi process mode. Single process mode (IsRunningMultipleNodes = false) is where the engine is initialized with the number of cpus = 1 and the engine is not a child engine. The engine is in multi process mode (IsRunningMultipleNodes = true) when the engine is initialized with a number of cpus > 1 or the engine is a child engine.

public:
 property bool IsRunningMultipleNodes { bool get(); };
public bool IsRunningMultipleNodes { get; }
member this.IsRunningMultipleNodes : bool
Public ReadOnly Property IsRunningMultipleNodes As Boolean

Property Value

true if the system is running in multi-processor mode, false otherwise.

Remarks

The build engine is in single-processor mode (IsRunningMultipleNodes = false) when it is initialized with the number of CPUs equal to 1 and the build engine is not a child engine. The build engine is in multi-processor mode (IsRunningMultipleNodes = true) when it is initialized with a number of CPUs greater than 1, or when the build engine is a child engine.

Applies to