MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / wait

Method wait

3rdparty/cppdap/include/dap/future.h:107–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105
106template <typename T>
107void future<T>::wait() const {
108 std::unique_lock<std::mutex> lock(state->mutex);
109 state->cv.wait(lock, [&] { return state->hasVal; });
110}
111
112template <typename T>
113template <class Rep, class Period>

Callers 10

TEST_FFunction · 0.45
readMethod · 0.45
lockWriterMethod · 0.45
TESTFunction · 0.45
takeMethod · 0.45
getMethod · 0.45
ThreadPoolMethod · 0.45
~QLoggerManagerMethod · 0.45
runMethod · 0.45
~GitQlientRepoMethod · 0.45

Calls

no outgoing calls

Tested by 2

TEST_FFunction · 0.36
TESTFunction · 0.36