[GHC] #12721: Implement sigINT handler for Window's timeout.exe

GHC ghc-devs at haskell.org
Mon Oct 17 00:16:44 UTC 2016


#12721: Implement sigINT handler for Window's timeout.exe
----------------------------------------+----------------------------
           Reporter:  Phyx-             |             Owner:
               Type:  task              |            Status:  new
           Priority:  normal            |         Milestone:
          Component:  Test Suite        |           Version:  8.0.1
           Keywords:                    |  Operating System:  Windows
       Architecture:  Unknown/Multiple  |   Type of failure:  Other
          Test Case:                    |        Blocked By:
           Blocking:                    |   Related Tickets:
Differential Rev(s):                    |         Wiki Page:
----------------------------------------+----------------------------
 On linux we current register a sigINT handler and kill the child
 processed.

 On Windows we don't. This sometimes leaves dangling processes when the
 testsuite is interrupted. Causing future failures until the dangling
 processes are killed.

 We already specifically create a job group and assign the processors to
 those jobs. All we have to do is register the handler and kill the process
 if the handler is called.

 See https://msdn.microsoft.com/en-
 us/library/windows/desktop/ms686016(v=vs.85).aspx

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12721>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list