[project @ 2002-07-24 03:38:58 by sof]
authorsof <unknown>
Wed, 24 Jul 2002 03:38:58 +0000 (03:38 +0000)
committersof <unknown>
Wed, 24 Jul 2002 03:38:58 +0000 (03:38 +0000)
commit126ebbae699dc0d3dcd5f8b6e25907132e47a668
treee2bf685c82374eb65ec73cee16afa3514b22e212
parentc952d3eb5903ef59c6515efdc2e2d595004c060a
[project @ 2002-07-24 03:38:58 by sof]
awaitEvent: if select() reports EBADF,
always unblock all waiting threads, even if
the prior invocation of select() also
elicited an EBADF.

The 'smart' that was there previously runs
the risk of working against us (if the EBADFs are
coming from different fds), so the above
scheme is preferable (and simpler.)
ghc/rts/Select.c