You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/libraries/System.Private.CoreLib/src/System/Runtime/InteropServices/PosixSignalRegistration.Windows.cs
Copy file name to clipboardExpand all lines: src/libraries/System.Private.CoreLib/src/System/Runtime/InteropServices/PosixSignalRegistration.cs
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,7 @@ public sealed partial class PosixSignalRegistration : IDisposable
24
24
/// <exception cref="PlatformNotSupportedException"><paramref name="signal"/> is not supported by the platform.</exception>
25
25
/// <exception cref="IOException">An error occurred while setting up the signal handling or while installing the handler for the specified signal.</exception>
26
26
/// <remarks>
27
+
/// The handlers are executed in reverse order of their registration.
27
28
/// Raw values can be provided for <paramref name="signal"/> on Unix by casting them to <see cref="PosixSignal"/>.
28
29
/// Default handling of the signal can be canceled through <see cref="PosixSignalContext.Cancel"/>.
29
30
/// <see cref="PosixSignal.SIGINT"/> and <see cref="PosixSignal.SIGQUIT"/> can be canceled on both
Copy file name to clipboardExpand all lines: src/libraries/System.Runtime.InteropServices/tests/System.Runtime.InteropServices.UnitTests/System/Runtime/InteropServices/PosixSignalRegistrationTests.Unix.cs
+35Lines changed: 35 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -125,6 +125,41 @@ public void SignalHandlerWorksForSecondRegistration()
0 commit comments