#3994: Add support for creating and interrupting process groups
---------------------------------+------------------------------------------
    Reporter:  hamish            |        Owner:              
        Type:  proposal          |       Status:  new         
    Priority:  normal            |    Milestone:              
   Component:  Compiler          |      Version:  6.12.1      
    Keywords:                    |   Difficulty:              
          Os:  Unknown/Multiple  |     Testcase:              
Architecture:  Unknown/Multiple  |      Failure:  None/Unknown
       Patch:  0                 |  
---------------------------------+------------------------------------------

Comment(by igloo):

 If I understand correctly, we will have
 {{{
 terminateProcess :: ProcessHandle -> IO ()
 }}}
 which sends `SIGTERM`, and
 {{{
 interruptProcessGroup :: ProcessHandle -> IO ()
 }}}
 which sends `SIGINT`.

 Shouldn't we have
 {{{
 signalProcess      :: CInt -> ProcessHandle -> IO ()
 signalProcessGroup :: CInt -> ProcessHandle -> IO ()
 }}}
 (with `terminateProcess` for backwards compatibility)?

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3994#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to