API Reference > OdApc Classes > OdApcQueue Class > OdApcQueue Methods > OdApcQueue::executeMainThreadAction Method
OdApcQueue::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).

Simply redirects call into threading framework.

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