Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
Socket
Method · 0.80
accept
Method · 0.80
connect
Method · 0.80
locking_callback
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected