-
Notifications
You must be signed in to change notification settings - Fork 1.4k
replace TSC signal handler with Dispatch's #3815
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
Conversation
@swift-ci please smoke test |
motivation: DispatchSignalSource is a supported cross platform signal handing API, we do not need a custom one in TSC changes: * replace use TSC's InterruptHandler with DispatchSignalSource * fix an issue where some git processes did not get registered with the ProcessSet for termination candidates
e899ccc
to
0bd58aa
Compare
0bd58aa
to
72816d1
Compare
@swift-ci please smoke test |
cc @compnerd for impact on Windows |
I think that this might work:
|
@compnerd can you verify the windows patch so we can merge? |
@swift-ci please smoke test |
Need to fix t-s-c first, your changes broke windows |
I built and ran with https://github.com/compnerd/swift-package-manager/pull/new/refactor/signal-handler ... that seems to work for me. Would you mind just cherry-picking the top commit from that. Once we have swiftlang/swift-tools-support-core#250, I think that this should be okay for Windows. |
motivation: DispatchSignalSource is a supported cross platform signal handing API, we do not need a custom one in TSC changes: * replace use TSC's InterruptHandler with DispatchSignalSource * fix an issue where some git processes did not get registered with the ProcessSet for termination candidates
motivation: DispatchSignalSource is a supported cross platform signal handing API, we do not need a custom one in TSC
changes: