richfitz / seagull

:bird: Portable file locking
https://richfitz.github.io/seagull
Other
2 stars 2 forks source link

Read locks #2

Open richfitz opened 8 years ago

richfitz commented 8 years ago

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.