MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / waitForProcessToFinish

Function waitForProcessToFinish

source/sdl/emscripten/mainloop.cpp:79–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79void waitForProcessToFinish(const std::shared_ptr<KProcess>& process, KThread* thread) {
80 BOXEDWINE_CRITICAL_SECTION_WITH_CONDITION(KSystem::processesCond);
81 while (!process->isTerminated()) {
82 BOXEDWINE_CONDITION_WAIT(KSystem::processesCond);
83 }
84}
85
86#else
87

Callers

nothing calls this directly

Calls 1

isTerminatedMethod · 0.80

Tested by

no test coverage detected