MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / waitForResult

Method waitForResult

Engine/source/console/simEvents.cpp:118–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116}
117
118ConsoleValue SimConsoleThreadExecCallback::waitForResult()
119{
120 if(sem->acquire(true))
121 {
122 return std::move(retVal);
123 }
124
125 return ConsoleValue();
126}
127
128//-----------------------------------------------------------------------------
129

Callers 5

executeFunction · 0.80
_execLaterMethod · 0.80
callMethod · 0.80
callMethod · 0.80
callMethod · 0.80

Calls 2

ConsoleValueClass · 0.70
acquireMethod · 0.45

Tested by

no test coverage detected