#2650: Child processes always unwantedly inherit Handles on Windows
----------------------------------+-----------------------------------------
    Reporter:  Deewiant           |        Owner:  simonmar
        Type:  bug                |       Status:  closed  
    Priority:  high               |    Milestone:  6.12.1  
   Component:  libraries/process  |      Version:  6.9     
    Severity:  major              |   Resolution:  fixed   
    Keywords:                     |   Difficulty:  Unknown 
    Testcase:                     |           Os:  Windows 
Architecture:  Unknown/Multiple   |  
----------------------------------+-----------------------------------------
Changes (by simonmar):

  * status:  new => closed
  * component:  libraries (other) => libraries/process
  * resolution:  => fixed

Comment:

 Fixed:

 {{{
 Tue Jun  2 12:58:07 BST 2009  Simon Marlow <marlo...@gmail.com>
   * Fix #2650: avoid a race condition on Windows when creating sub-
 processes
 }}}

 I think this part of the bug is much more unlikely to cause problems than
 #3231, as it should only affect you if you're creating processes from
 multiple threads, and even then it might not cause a problem, because the
 only effect is to unnecessarily inherit a pipe Handle or two.  There's
 also a workaround: do your own mutual exclusion.  So I'm not suggesting we
 merge this into 6.10.4.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2650#comment:9>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to