Better error handling in the IO manager thread
authorSimon Marlow <simonmar@microsoft.com>
Thu, 18 May 2006 11:33:03 +0000 (11:33 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Thu, 18 May 2006 11:33:03 +0000 (11:33 +0000)
commit77a47fd973802d084a2a0118e4906368196edc11
tree8f59da02bc940a47c1b3f52d7ad47c60ff9381e9
parentc5c0f2cea9f7b7978170f888f9bb0cf1d33b9561
Better error handling in the IO manager thread
In particular, handle EBADF just like rts/posix/Select.c, by waking up
all the waiting threads.  Other errors are thrown, instead of just
being ignored.
GHC/Conc.lhs