MCPcopy Create free account
hub / github.com/bailey27/cppcryptfs / Lock

Method Lock

libcppcryptfs/file/cryptfile.h:108–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106 }
107
108 void Lock()
109 {
110 if (m_openfile) {
111 if (m_bExclusiveLock)
112 m_openfile->LockExclusive();
113 else
114 m_openfile->LockShared();
115 }
116 }
117
118 void ReLock(bool exclusive)
119 {

Callers

nothing calls this directly

Calls 2

LockExclusiveMethod · 0.80
LockSharedMethod · 0.80

Tested by

no test coverage detected