-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lock.c: Use robust mutexes when possible.
For dynamically initialized mutexes, make them robust, so that if the owning thread were to die while holding a mutex, we have better visibility that this happened. This is intended mainly for ease of debugging fallout from thread cancellations, and isn't intended to allow for graceful recovery from such incidents.
- Loading branch information
1 parent
eea4897
commit b7d9683
Showing
1 changed file
with
66 additions
and
0 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