Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/carbonengine/trinity
/ ContinueOnMainThread
Function
ContinueOnMainThread
trinity/ContinueOnMainThread.cpp:14–18 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
12
}
13
14
void ContinueOnMainThread( std::function<void()>&& action )
15
{
16
std::lock_guard<std::mutex> lock( mainThreadActionsMutex );
17
mainThreadActions.push_back( std::move( action ) );
18
}
19
20
void ExecuteMainThreadActions()
21
{
Callers
6
Start
Method · 0.85
Stop
Method · 0.85
Update
Method · 0.85
Start
Method · 0.85
Stop
Method · 0.85
Update
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected