dxCanUseMultiThreading Method
Identifies if DevExpress components can use multi-threaded calculations.
Declaration
function dxCanUseMultiThreading: Boolean;
Returns
| Type | Description |
|---|---|
| Boolean |
|
Remarks
All DevExpress controls that can benefit from multi-threaded calculations call the dxCanUseMultiThreading function to identify if it is possible to run content rendering routines or data processing algorithms in a separate thread.
The dxCanUseMultiThreading global function returns True only if all of the following conditions are met:
- The thread pool is available in the target operating system.
- More than one CPU core is detected at application startup.
- The dxEnableMultiThreading global constant is set to
True.
See Also