Tue Nov  3 08:05:40 PST 2009  Simon Marlow <[email protected]>
  * Fix #1185: restart the IO manager after fork()
  Ignore-this: 6dc05464f1500104554637f4759738cc
  
  This is the libraries/base part of the patch; there is a corresponding
  patch to GHC itself.
  
  The main change is that we now keep track of the IO manager's ThreadId
  in a top-level MVar, and ensureIOManagerIsRunning checks whether a
  previous IO manager thread is alive before starting one.  In the child
  of fork(), we can hence call ensureIOManagerIsRunning to restart the
  IO manager.

    M ./GHC/Conc.lhs -46 +44

View patch online:
http://darcs.haskell.org/packages/base/_darcs/patches/20091103160540-12142-9b38ee1eeb4afc6aae96dff8d7ab6c22c4f83ef7.gz
_______________________________________________
Cvs-libraries mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-libraries

Reply via email to