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

Method isOpen

Utilities/cmcppdap/src/socket.cpp:160–170  ·  view source on GitHub ↗

dap::ReaderWriter compliance

Source from the content-addressed store, hash-verified

158
159 // dap::ReaderWriter compliance
160 bool isOpen() {
161 {
162 RLock l(mutex);
163 if ((s != InvalidSocket) && !errored(s)) {
164 return true;
165 }
166 }
167 WLock lock(mutex);
168 s = InvalidSocket;
169 return false;
170 }
171
172 void close() {
173 {

Callers

nothing calls this directly

Calls 1

erroredFunction · 0.85

Tested by

no test coverage detected