API Reference > OdRx Classes > OdApcMtQueueFlags Enumeration
OdApcMtQueueFlags Enumeration
Syntax
C++
enum OdApcMtQueueFlags { kMtQueueNoFlags = 0, kMtQueueForceNewThreads = (1 << 0), kMtQueueAllowExecByMain = (1 << 1), kMtQueueForceTopLevel = (1 << 2), kMtQueueLastFlag = kMtQueueForceTopLevel };

RxThreadPoolService.h

Members 
Description 
kMtQueueNoFlags = 0 
Empty MtQueue flags. 
kMtQueueForceNewThreads = (1 << 0) 
Spawn new threads and add them to the pool if there are not enough free threads. 
kMtQueueAllowExecByMain = (1 << 1) 
Allow to use main thread for execution if there are no free threads. 
kMtQueueForceTopLevel = (1 << 2) 
Make MtQueue top level even if other registered threads already run. 

Represents set of flags for new APC MtQueue construction. Corresponding C++ library: TD_DbRoot

Copyright © 2002–2020. Open Design Alliance. All rights reserved.