API Reference > OdDb Classes > OdDbDatabase Class > OdDbDatabase Methods > OdDbDatabase::setMultiThreadedMode Method
OdDbDatabase::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::kMTLoading 
Multi-threaded data loading. 
OdDb::MultiThreadedMode::kMTRendering 
Multi-threaded rendering. 
Copyright © 2002–2021. Open Design Alliance. All rights reserved.