filelock
filelock copied to clipboard
Different types of locks on the same file fail
I.e. if you first lock exclusively, then shared, or the other way. Ideally this should work, and only the the more restrictive lock type should be used.