Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

dxCanUseMultiThreading Method

Identifies if DevExpress components can use multi-threaded calculations.

#Declaration

Delphi
function dxCanUseMultiThreading: Boolean;

#Returns

Type Description
Boolean

True if multi-threaded calculations are available to DevExpress controls; otherwise, False.

#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