You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Structs, Records, Enums > Dew.Math.TThreadingMode Enumeration
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Dew.Math.TThreadingMode Enumeration

Sets threading mode used by MtxVec.

Syntax
C#
Visual Basic
public enum TThreadingMode : uint { ttSerial, ttTurnAround, ttThroughput }

MtxVec.cs

Members 
Description 
ttSerial 
Threading is disabled. 
ttTurnAround 
Threading is agressive. To reduce thread switching time, threads never enter sleep state and continue running empty until new job is given. This consumes all CPU resources and gives best performance. This is not suitable, if there are any other applications to be run on the same computer, because CPU will be completely consumed by one application. 
ttThroughput 
Threading is balanced. To reduce thread switching time, but also reduce CPU load, threads enter sleep state after specified time if no new job is given. This can consume a lot CPU resources, if the wait time before entering the sleep is larger than 0. While threads wait they consume all available CPU resources. By default, the time before sleeping is 0. 
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!