-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid Blocking Finalizer Thread During Shutdown in SystemEvents (#108489
) * Add switch to enable legacy Thread.Join in SystemEvents.Shutdown and obsolete EventsThreadShutdown * code cleanup * Add regression test * Call PostQuitMessage instead of PostMessage(WM_QUIT) * Remove compat switch and address PR feedback * rebuild with /p:ApiCompatGenerateSuppressionFile=true * Call PostQuitMessage on SystemEvents thread * Try removing left/right on compatbilitysuppression.xml * Obsolete EventsThreadShutdown * Remove shutdown handling to make behavior deterministic * Adjust obsolete message Co-authored-by: Jan Kotas <[email protected]> * Add obsoletion to refs * Set IncludeInternalObsoleteAttribute in ref project * re-include Obsoletions.cs in ref project * revert 134aca8 and hardcode obsoletion * Add IncludeInternalObsoleteAttribute to System.Events project * remove Obsoletions.cs from compile include * Revert "remove Obsoletions.cs from compile include" This reverts commit 452146d. * Update suppression file * Update obsolete message Co-authored-by: Stephen Toub <[email protected]> --------- Co-authored-by: Jan Kotas <[email protected]> Co-authored-by: Viktor Hofer <[email protected]> Co-authored-by: Stephen Toub <[email protected]>
- Loading branch information
1 parent
15b3ca6
commit 6d3f9b5
Showing
8 changed files
with
81 additions
and
115 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
1 change: 1 addition & 0 deletions
1
src/libraries/Microsoft.Win32.SystemEvents/ref/Microsoft.Win32.SystemEvents.csproj
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
7 changes: 7 additions & 0 deletions
7
src/libraries/Microsoft.Win32.SystemEvents/src/CompatibilitySuppressions.xml
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
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