[GHC] #12721: Implement sigINT handler for Window's timeout.exe
GHC
ghc-devs at haskell.org
Sat May 12 08:11:21 UTC 2018
#12721: Implement sigINT handler for Window's timeout.exe
-------------------------------+----------------------------------------
Reporter: Phyx- | Owner: Azel
Type: task | Status: patch
Priority: normal | Milestone:
Component: Test Suite | Version: 8.0.1
Resolution: | Keywords:
Operating System: Windows | Architecture: Unknown/Multiple
Type of failure: Other | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D4631
Wiki Page: |
-------------------------------+----------------------------------------
Comment (by Tamar Christina <tamar@…>):
In [changeset:"2323ffdd552327a8954de8ac37908029ec7cad38/ghc" 2323ffd/ghc]:
{{{
#!CommitTicketReference repository="ghc"
revision="2323ffdd552327a8954de8ac37908029ec7cad38"
Adds CTRL-C handler in Windows's timeout (trac issue #12721)
Summary:
Uses Win32's System.Win32.Console.CtrlHandler.withConsoleCtrlHandler to
add
to Windows's version of the timeout executable a CTRL-C/CTRL-BREAK
handler which does the close IO port/kill job cleanup, just in case.
Signed-off-by: ARJANEN Loïc Jean David <arjanen.loic at gmail.com>
Reviewers: Phyx, bgamari
Reviewed By: Phyx
Subscribers: dfeuer, thomie, carter
GHC Trac Issues: #12721
Differential Revision: https://phabricator.haskell.org/D4631
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12721#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list