API Reference > OdRx Classes > OdRxThreadPoolService Class
OdRxThreadPoolService Class
OdRxThreadPoolServiceOdRxThreadPoolServiceOdRxThreadPoolService
Syntax
C++
class OdRxThreadPoolService : public OdRxModule;

RxThreadPoolService.h

Corresponding C++ library: TD_DbRoot

 
Name 
Description 
 
Execute action in the main thread (doesn't depend on multithread queues count).  
 
Inform the ODA Platform that external thread started. 
 
Inform the ODA Platform that external thread stopped. 
 
Returns current thread id 
 
Returns current function for execution in the external main thread. 
 
Returns main thread id 
 
Returns true if the main thread is current one 
 
Creates APC event object. 
 
Creates APC gateway object. 
 
Creates APC sync point object. 
 
Creates mutiple thread processing queue.  
 
Creates APC object pool object. 
 
Creates synchronized (single thread) queue. 
 
Creates APC thread object. 
 
Returns number of logical CPUs installed on this machine. 
 
Returns number of currently available free threads in the pool. 
 
Returns number of physical CPU cores installed on this machine. 
 
Returns number of all threads in the pool. 
 
This is ODRX_DECLARE_MEMBERS, a member of class OdRxThreadPoolService. 
 
Register externally executed threads.  
 
Setup function for provide execution in the external main thread.  
 
Unregister externally executed threads.  
Copyright © 2002–2020. Open Design Alliance. All rights reserved.