-
Notifications
You must be signed in to change notification settings - Fork 436
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Force the Mu-tex to reset if it's being held by a zombie process If a process crashes hard before releasing the Mu-tex then a new process won't be able to start. (This is only likely to happen on Linux which doesn't automatically release the shared memory we use to implement the mutex). This PR always attaches and detaches from the shared memory before checking whether or not it can attach and read the contents. This is enough to take control of the mutex from the zombie process
- Loading branch information
Showing
3 changed files
with
12 additions
and
2 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
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
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 |
---|---|---|
|
@@ -23,6 +23,7 @@ exclude = | |
./.venv*/ | ||
./env/ | ||
./.env/ | ||
./local-scripts/ | ||
max-line-length = 88 | ||
|
||
[coverage:run] | ||
|