API Reference > OdRx Classes > OdRxThreadPoolService Class > OdRxThreadPoolService Methods > OdRxThreadPoolService::newMTQueue Method
OdRxThreadPoolService::newMTQueue Method
Syntax
C++
virtual OdApcQueuePtr newMTQueue(unsigned nThreadAttributes = ThreadsCounter::kNoAttributes, int numThreads = 0, OdUInt32 nFlags = kMtQueueNoFlags) = 0;
Parameters 
Description 
unsigned nThreadAttributes = ThreadsCounter::kNoAttributes 
[in] Set of the attributes for the threads to run.  
int numThreads = 0 
[in] Number of threads for this queue.  
OdUInt32 nFlags = kMtQueueNoFlags 
[in] Set of flags for new MtQueue construction. 

Creates mutiple thread processing queue.

If numThreads argument is zero, then the queue uses all available free threads.

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