API Reference > OdRx Classes > OdRxThreadPoolService Class > OdRxThreadPoolService Methods > OdRxThreadPoolService::executeMainThreadAction Method
OdRxThreadPoolService::executeMainThreadAction Method
Syntax
C++
virtual void executeMainThreadAction(MainThreadFunc mtFunc, void * pArg) = 0;
Parameters 
Description 
MainThreadFunc mtFunc 
[in] Function to execute in the main thread.  
void * pArg 
[in] Function argument to execute in the main thread. 

Execute action in the main thread (doesn't depend on multithread queues count).

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