| 182 | } |
| 183 | |
| 184 | bool FileLock::ReadLockTimeOut(uint64_t iOffset, int sec, uint64_t iLen, int iWhence) { |
| 185 | return FcntlTimeOut(F_SETLKW, F_RDLCK, iOffset, iLen, iWhence, sec); |
| 186 | } |
| 187 | |
| 188 | bool FileLock::WriteLockTimeOut(uint64_t iOffset, int sec, uint64_t iLen, int iWhence) { |
| 189 | return FcntlTimeOut(F_SETLKW, F_WRLCK, iOffset, iLen, iWhence, sec); |
nothing calls this directly
no outgoing calls
no test coverage detected