Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Codeya-IDE/deepin-ide
/ stopWithLock
Method
stopWithLock
3rdparty/cppdap/src/network.cpp:72–77 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
70
bool isRunning() { return !stopped; }
71
72
void stopWithLock() {
73
if (!stopped.exchange(true)) {
74
socket->close();
75
thread.join();
76
}
77
}
78
79
std::mutex mutex;
80
std::thread thread;
Callers
nothing calls this directly
Calls
1
close
Method · 0.45
Tested by
no test coverage detected