MCPcopy Create free account
hub / github.com/dfranx/SHADERed / lock

Method lock

libs/cppdap/src/socket.cpp:126–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124
125 template <typename FUNCTION>
126 void lock(FUNCTION&& f) {
127 RLock l(mutex);
128 f(s, info);
129 }
130
131 void setOptions() {
132 RLock l(mutex);

Callers 4

SocketMethod · 0.80
acceptMethod · 0.80
connectMethod · 0.80
locking_callbackMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected