Rollback #1185 fix
authorSimon Marlow <marlowsd@gmail.com>
Fri, 6 Nov 2009 14:06:29 +0000 (14:06 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Fri, 6 Nov 2009 14:06:29 +0000 (14:06 +0000)
commit2ed4c3ce3514e619281352cb8a6a5e7369b00421
tree8ca06f43ed6a36487c8c56c18bae0eeb84b6f30b
parent02a7b22f3e46548b790406e4dfda6688dc3f531d
Rollback #1185 fix

rolling back:

Tue Nov  3 16:05:40 GMT 2009  Simon Marlow <marlowsd@gmail.com>
  * Fix #1185: restart the IO manager after fork()

  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

Wed Nov  4 17:49:45 GMT 2009  Ian Lynagh <igloo@earth.li>
  * Fix the build on Windows

    M ./GHC/Conc.lhs -6 +4
GHC/Conc.lhs