You are here: Symbol Reference > MtxVec Namespace > Structs, Records, Enums > MtxVec.TThreadingMode Enumeration
MtxVec VCL
ContentsIndex
PreviousUpNext
MtxVec.TThreadingMode Enumeration

Sets threading mode used by MtxVec.

Pascal
TThreadingMode = ( ttSerial, ttTurnAround, ttThroughput );
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-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!