| 225 | } |
| 226 | |
| 227 | static int private_flock_set(int fd, int operation) { |
| 228 | int result; |
| 229 | do { |
| 230 | result = flock(fd, operation); |
| 231 | } while (result != 0 && errno == EINTR); |
| 232 | return result; |
| 233 | } |
| 234 | |
| 235 | static int private_release_unlock(cbm_private_file_lock_t *lock) { |
| 236 | lock->test_unlock_attempts++; |
no test coverage detected