From: Simon Marlow Date: Wed, 25 Jul 2007 13:55:04 +0000 (+0000) Subject: FIX #1177, partially at least. X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=eb5791fe867f6441d270344298678f45ed4a75e4;hp=eb5791fe867f6441d270344298678f45ed4a75e4 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. ---