API Reference > Other Classes > ThreadsCounter Class > ThreadsCounter Methods > ThreadsCounter::setMainThreadFunc Method
ThreadsCounter::setMainThreadFunc Method
Syntax
C++
void setMainThreadFunc(ExecuteMainThreadFunc func);
Parameters 
Description 
ExecuteMainThreadFunc func 
[in] Function for execution in the main thread. 

Setup function for execution in the external main thread.

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