MCPcopy Create free account
hub / github.com/ModOrganizer2/modorganizer / waitForProcessesThread

Function waitForProcessesThread

src/processrunner.cpp:344–353  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

342}
343
344void waitForProcessesThread(ProcessRunner::Results& result, HANDLE job,
345 UILocker::Session* ls, std::atomic<bool>& interrupt)
346{
347 result = waitForProcessesThreadImpl(job, ls, interrupt);
348
349 // the session can be null when running shortcuts with locking disabled
350 if (ls) {
351 ls->unlock();
352 }
353}
354
355ProcessRunner::Results waitForProcesses(const std::vector<HANDLE>& initialProcesses,
356 UILocker::Session* ls)

Callers

nothing calls this directly

Calls 2

unlockMethod · 0.80

Tested by

no test coverage detected