Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Kitware/CMake
/ lock
Method
lock
Utilities/cmcppdap/src/socket.cpp:127–130 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
125
126
template <typename FUNCTION>
127
void lock(FUNCTION&& f) {
128
RLock l(mutex);
129
f(s, info);
130
}
131
132
void setOptions() {
133
RLock l(mutex);
Callers
6
Socket
Method · 0.80
accept
Method · 0.80
connect
Method · 0.80
write_req_cb
Function · 0.80
Work
Method · 0.80
VariableAccessed
Method · 0.80
Calls
1
f
Function · 0.50
Tested by
no test coverage detected