diff options
author | ARJANEN Loïc Jean David <arjanen.loic@gmail.com> | 2018-05-12 08:35:27 +0100 |
---|---|---|
committer | Tamar Christina <tamar@zhox.com> | 2018-05-12 09:10:27 +0100 |
commit | 2323ffdd552327a8954de8ac37908029ec7cad38 (patch) | |
tree | 7bb7c180ee6b7f64d591918106ea0facbf329c72 /rts/StgStartup.cmm | |
parent | 37810347dfeda977e7036cf8bc87ba079f094baa (diff) | |
download | haskell-2323ffdd552327a8954de8ac37908029ec7cad38.tar.gz |
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@gmail.com>
Reviewers: Phyx, bgamari
Reviewed By: Phyx
Subscribers: dfeuer, thomie, carter
GHC Trac Issues: #12721
Differential Revision: https://phabricator.haskell.org/D4631
Diffstat (limited to 'rts/StgStartup.cmm')
0 files changed, 0 insertions, 0 deletions