MCPcopy Create free account
hub / github.com/Kitware/CMake / Wait

Method Wait

Source/cmDebuggerAdapter.cxx:45–49  ·  view source on GitHub ↗

Wait() blocks until the event is fired.

Source from the content-addressed store, hash-verified

43public:
44 // Wait() blocks until the event is fired.
45 void Wait()
46 {
47 std::unique_lock<std::mutex> lock(Mutex);
48 Cv.wait(lock, [&] { return Fired; });
49 }
50
51 // Fire() sets signals the event, and unblocks any calls to Wait().
52 void Fire()

Callers 4

cmDebuggerAdapterMethod · 0.45
ReportExitCodeMethod · 0.45
OnBeginFunctionCallMethod · 0.45
OnMessageOutputMethod · 0.45

Calls 1

waitMethod · 0.80

Tested by

no test coverage detected