-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
modified read-lock and re-introduced atomic guards
only the first reader acquires a lock, subsequent readers increase atomic counter, and only the last remaining reader unlocks. detects race-condition on initial lock and final unlock
- Loading branch information
1 parent
56e7c9c
commit e0a2e9f
Showing
1 changed file
with
37 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters