MCPcopy Create free account
hub / github.com/axmolengine/axmol / runOnAxmolThread

Method runOnAxmolThread

core/base/Scheduler.cpp:726–730  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

724}
725
726void Scheduler::runOnAxmolThread(std::function<void()> action)
727{
728 std::lock_guard<std::mutex> lock(_performMutex);
729 _actionsToPerform.emplace_back(std::move(action));
730}
731
732void Scheduler::removeAllPendingActions()
733{

Callers 15

onSaveToFileMethod · 0.80
_play2dMethod · 0.80
_play3dMethod · 0.80
invokingLoadCallbacksMethod · 0.80
enqueueMethod · 0.80
ThreadTasksMethod · 0.80
commandConfigMethod · 0.80
commandFileUtilsMethod · 0.80

Calls 1

emplace_backMethod · 0.45

Tested by 1

updateMethod · 0.64