Changes between Initial Version and Version 1 of Ticket #13795
- Timestamp:
- Nov 23, 2017, 4:07:52 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #13795 – Description
initial v1 27 27 Basically, flock is not owned by the team, but by the file descriptor. This also explains the behavior with regard to fork(). 28 28 29 We are currently using a session_id (pid_t) as an identifier for locks. Could we switch to using the file descriptor number instead, or would that break something? 29 We are currently using a session_id (pid_t) as an identifier for locks. Could we switch to using the file descriptor number instead, or would that break something? (this would mean the process should keep the fd opened until the lock is released, and should release using the same fd used for locking).