Would also be useful, and less prone to getting stuck because multiple processes can read from a file at once.
Raises the question of if it's possible to convert a read lock into a write lock; probably not because write locks are only allowed when read locks are released.
Would also be useful, and less prone to getting stuck because multiple processes can read from a file at once.
Raises the question of if it's possible to convert a read lock into a write lock; probably not because write locks are only allowed when read locks are released.