| 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); |
| 190 | } |
| 191 | |
| 192 | bool FileLock::Unlock(uint64_t iOffset, uint64_t iLen, int iWhence) { |
| 193 | return Fcntl(F_SETLK, F_UNLCK, iOffset, iLen, iWhence); |
nothing calls this directly
no outgoing calls
no test coverage detected