MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / thread

Function thread

Source/Common/Utils.cpp:196–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

194}
195
196void thread(const std::function<Job()>& work) {
197 SharedDirector.getScheduler()->schedule(once(work));
198}
199
200void threadLoop(const std::function<Job()>& work) {
201 SharedDirector.getScheduler()->schedule(loop(work));

Callers 15

getLatestVersionFunction · 0.50
downloadFunction · 0.50
advanceFunction · 0.50
generateClipsFunction · 0.50
runFunction · 0.50
loadDataMethod · 0.50
downloadPackageMethod · 0.50
start_asyncMethod · 0.50
ThreadPoolMethod · 0.50
enqueueMethod · 0.50
start_heartbeatMethod · 0.50
DecodeTiledLevelFunction · 0.50

Calls 3

onceFunction · 0.70
scheduleMethod · 0.45
getSchedulerMethod · 0.45

Tested by

no test coverage detected