Implemented the last (I hope:-) part of the locking puzzle, the reference
commit83a76b4cd302c6aa0fc0465cb5fc79d8ead813c9
authorJeremy Allison <jra@samba.org>
Tue, 2 May 2000 21:07:26 +0000 (2 21:07 +0000)
committerJeremy Allison <jra@samba.org>
Tue, 2 May 2000 21:07:26 +0000 (2 21:07 +0000)
tree246fc1e2adff723a63bb0490f18287d8b439eacb
parent671fa8f29c6df57c8c567ff0fff61ca31fe121a8
Implemented the last (I hope:-) part of the locking puzzle, the reference
counting when Windows downgrades a write lock to a read lock, then reference
counts the unlocks to match the locks.
With this code the POSIX unlock isn't done until the final Windows unlock.
Jeremy.
source/locking/posix.c