| 100 | } |
| 101 | |
| 102 | bool 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 | } |
| 107 | bool FileLock::FcntlTimeOut(int iCmd, int iType, uint64_t iOffset, uint64_t iLen, int iWhence, int sec) { |
| 108 | struct sigaction act, oact; |
| 109 | int ret; |