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

Method FcntlTimeOut

phxsqlclient/utils/filelock.cpp:102–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}
101
102bool FileLock::FcntlTimeOut(int iCmd, int iType, int iOffset, int iLen, int iWhence, int sec) {
103 uint64_t offset = iOffset;
104 uint64_t len = iLen;
105 return FcntlTimeOut(iCmd, iType, offset, len, iWhence, sec);
106}
107bool FileLock::FcntlTimeOut(int iCmd, int iType, uint64_t iOffset, uint64_t iLen, int iWhence, int sec) {
108 struct sigaction act, oact;
109 int ret;

Callers

nothing calls this directly

Calls 1

sigactionClass · 0.70

Tested by

no test coverage detected