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

Method close

Utilities/cmcppdap/src/chan.h:50–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48
49template <typename T>
50void Chan<T>::close() {
51 std::unique_lock<std::mutex> lock(mutex);
52 closed = true;
53 cv.notify_all();
54}
55
56template <typename T>
57optional<T> Chan<T>::take() {

Callers 8

TESTFunction · 0.45
stopWithLockMethod · 0.45
~ImplMethod · 0.45
TESTFunction · 0.45
multissl_closeFunction · 0.45
cf_closeFunction · 0.45
runMethod · 0.45
parse_titleMethod · 0.45

Calls

no outgoing calls

Tested by 2

TESTFunction · 0.36
TESTFunction · 0.36