-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dynamolock: improve cancelability of acquireLock
When acquireLock() begins sleeping before a retry, it previously would not return until after the full sleep interval had elapsed, which would cause the caller to block for up to the configurable refresh period even after cancellation. This change allows immediate return should the context be cancelled while sleeping. Addresses #106
- Loading branch information
1 parent
829fa9a
commit d4cdbe1
Showing
2 changed files
with
7 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,5 @@ Pawan Bishnoi [email protected] | |
Alexandre Picard-Lemieux [email protected] | ||
Charlie Vieth ([email protected]) | ||
Daniel Gil ([email protected]) | ||
David Becher ([email protected]) | ||
David Becher ([email protected]) | ||
Jason Tackaberry ([email protected])) |
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