MCPcopy 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

SocketMethod · 0.80
acceptMethod · 0.80
connectMethod · 0.80
write_req_cbFunction · 0.80
WorkMethod · 0.80
VariableAccessedMethod · 0.80

Calls 1

fFunction · 0.50

Tested by

no test coverage detected