-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Fix possible deadlocks on PosixSignalRegistration disposal on Windows #124893
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
mrek-msft
wants to merge
37
commits into
dotnet:main
Choose a base branch
from
mrek-msft:dev/mrek/meh-sig-hndlr-deadlock
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+171
−30
Open
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
8d4df78
Register CtrlHandler only once on Windows to prevent AB/BA deadlock b…
mrek-msft 346a77b
Reregister in case of Free/Attach/AllocConsole directly used.
mrek-msft 0bcf834
Rework locking mechanism to handle possible races
mrek-msft adfcccb
Undo s_oneOfUnregisterExecuteLock
mrek-msft d9ab110
Whitespace changes cleanup
mrek-msft 1a9751f
Update src/libraries/System.Private.CoreLib/src/System/Runtime/Intero…
jkotas 7f9a9de
Merge branch 'main' into dev/mrek/meh-sig-hndlr-deadlock
mrek-msft e2184ec
Remove register/unregister lock and rename
mrek-msft 44e6763
Capture and use fixed address of HandlerRoutine
mrek-msft d27d330
Adding test for testing that deadlock do not happen whne unregisterin…
mrek-msft b369a3c
Dispose handlers immidiately, do not wait for finialize time
mrek-msft 6ed26b2
Merge remote-tracking branch 'remotes/mrek/dev/mrek/meh-sig-hndlr-dea…
mrek-msft c4250f3
Fix typo in comment
mrek-msft 43b751f
Fix misleading comment on lock object.
mrek-msft 481abee
Move unsafe from partial class to members needing it.
mrek-msft a7ed82c
Fix typo in comment
mrek-msft 5af264a
revert introduced using static.
mrek-msft 5e59198
Improve comment grammar.
mrek-msft 41eb483
Merge branch 'dev/mrek/meh-sig-hndlr-deadlock' of https://github.com/…
mrek-msft 2082289
Fix wrong const message
mrek-msft 781813f
Improve comment grammar
mrek-msft 54be37c
Fix wrong naming convetion
mrek-msft 23a28b4
Merge branch 'dev/mrek/meh-sig-hndlr-deadlock' of https://github.com/…
mrek-msft 25cdb3c
Improve remote proces emmited messages
mrek-msft cc720e3
Comments improvements.
mrek-msft af28e8f
Move waiting for console message to separate method, add timeout. Cha…
mrek-msft 8132a94
Await canceled read task in AssertRemoteProcessStandardOutputLine
mrek-msft dad39de
Fix typo
mrek-msft c48b00b
Fix adding negative signal number
mrek-msft f19e405
Rework unix return code checks once more.
mrek-msft 525f3b8
Rework timeout to CTS with timeout + OperationCanceledException catching
mrek-msft 6fef7a4
Do not kill process if already exited in finally.
mrek-msft 73957d1
Better handling of Kill() failures
mrek-msft 190d349
Remove ifdef for calling Process.Kill on old .NET Core.
mrek-msft f5b9924
Terminate by SIGTERM instead of SIGQUIT on mono on unix systems.
mrek-msft b0fd4b5
Merge branch 'main' into dev/mrek/meh-sig-hndlr-deadlock
mrek-msft 02b45b5
Merge branch 'main' into dev/mrek/meh-sig-hndlr-deadlock
jkotas File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.