MCPcopy Create free account
hub / github.com/Tencent/phxsql / ReadLockW

Method ReadLockW

phxsqlclient/utils/filelock.cpp:176–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174}
175
176bool FileLock::ReadLockW(uint64_t iOffset, uint64_t iLen, int iWhence) {
177 return Fcntl(F_SETLKW, F_RDLCK, iOffset, iLen, iWhence);
178}
179
180bool FileLock::WriteLockW(uint64_t iOffset, uint64_t iLen, int iWhence) {
181 return Fcntl(F_SETLKW, F_WRLCK, iOffset, iLen, iWhence);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected