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

Method reset

3rdparty/cppdap/src/chan.h:43–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41
42template <typename T>
43void Chan<T>::reset() {
44 std::unique_lock<std::mutex> lock(mutex);
45 queue = {};
46 closed = false;
47}
48
49template <typename T>
50void Chan<T>::close() {

Callers 4

TEST_FFunction · 0.45
TESTFunction · 0.45
SocketMethod · 0.45
TESTFunction · 0.45

Calls

no outgoing calls

Tested by 3

TEST_FFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36