Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bailey27/cppcryptfs
/ lock
Method
lock
libcppcryptfs/file/openfiles.h:47–51 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
45
shared_mutex m_inner_mutex;
46
public:
47
void lock()
48
{
49
lock_guard<mutex> lck(m_outer_mutex);
50
m_inner_mutex.lock();
51
}
52
53
void lock_shared()
54
{
Callers
1
LockExclusive
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected