Make the global MultiThreading state of the current application equivalent to the values in the MultiThreading properties of this class. The following properties will be applied to application: MultiThreadingEnabled, MultiThreadingThreadCount, and MultiThreadingThreadCountMode.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 79.0.0.0
public void ApplyMultiThreadingApplicationState()
public void ApplyMultiThreadingApplicationState()
Public Sub ApplyMultiThreadingApplicationState
Public Sub ApplyMultiThreadingApplicationState
public:
void ApplyMultiThreadingApplicationState()
public:
void ApplyMultiThreadingApplicationState()
If multi-threading is enabled and the thread count mode is HardwareDefined, then the thread count will be set to the number of physical processors or cores installed. If any exception is thrown, the last good values of thread count mode, thread count, and multi-threading enable state will be restored.