cvs commit: fptools/libraries/base/GHC Handle.hs

Simon Marlow simonmar at haskell.org
Tue Oct 5 11:56:17 EDT 2004


simonmar    2004/10/05 08:56:17 PDT

  Modified files:
    libraries/base/GHC   Handle.hs 
  Log:
  If we try to use a finalized handle, then throw a useful exception.
  Before, the thread would just block forever on the MVar or get a
  BlockedOnDeadMVar exception.
  
  The fact that you can actually get into a situation where a finalized
  handle can be accessed is arguably a bug itself, but at least now
  we'll be able to quickly see when it is happening which should cut
  down on debugging time.
  
  Revision  Changes    Path
  1.36      +24 -11    fptools/libraries/base/GHC/Handle.hs


More information about the Cvs-libraries mailing list