Wed Jul 25 06:55:04 PDT 2007  Simon Marlow <[EMAIL PROTECTED]>
  * FIX #1177, partially at least.
  Now we don't wait for outstanding IO requests when shutting down at
  program exit time, but we still wait when shutting down a DLL (via
  hs_exit()).  There ought to be a better way to do this, but
  terminating the threads forcibly is not a good idea (it never is: the
  thread might be holding a mutex when it dies, for example).
  
  I plan to add some docs to the user guide to describe how to shut
  down a DLL properly.

    M ./rts/RtsStartup.c -1 +1
    M ./rts/win32/AsyncIO.c -2 +2
    M ./rts/win32/AsyncIO.h -1 +1
    M ./rts/win32/IOManager.c -13 +15
    M ./rts/win32/IOManager.h -1 +1

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to