API Reference > OdDg Classes > OdDgDatabase Class > OdDgDatabase Methods > OdDgDatabase::setMultiThreadedMode Method
OdDgDatabase::setMultiThreadedMode Method
Syntax
C++
virtual void setMultiThreadedMode(OdDb::MultiThreadedMode);

Sets a new multi-threaded mode for the database. 

param [in] A new value of multi-threaded mode to be set.

New value can be one of the following:

Name 
Value 
Multi-threaded mode 
OdDb::MultiThreadedMode::kSTMode 
No multi-threaded, uses single-threaded mode. 
OdDb::MultiThreadedMode::kMTRendering 
Multi-threaded rendering. 
OdDb::MultiThreadedMode::kMTLoading 
Multi-threaded data loading. 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.