Fix #1185 (RTS part, also needs corresponding change to libraries/base)
authorSimon Marlow <marlowsd@gmail.com>
Tue, 3 Nov 2009 16:05:47 +0000 (16:05 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Tue, 3 Nov 2009 16:05:47 +0000 (16:05 +0000)
commit3501ac6af749ada0afcaf84f112ab2e4bf9120b9
tree2afe6473e18531985cd92d872b45f4267c6158cb
parent7068f60cc7aefef514f02d5927d5abbdcd5c94d4
Fix #1185 (RTS part, also needs corresponding change to libraries/base)
GHC.Conc.ensureIOManagerIsRunning now creates an IO manager thread if
one does not exist or has died/exited.

Unfortunately this exposed a problem caused by the fact that we have
two base packages, and hence two IO managers, in GHCi: see NOTE
[io-manager-ghci] in rts/Linker.c.  The workaround can go away if/when
we switch to a dynamically linked GHCi.
rts/Linker.c
rts/Schedule.c
rts/package.conf.in
rts/posix/Signals.c
rts/posix/Signals.h