Another shutdown fix
authorSimon Marlow <marlowsd@gmail.com>
Mon, 17 Nov 2008 09:43:50 +0000 (09:43 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Mon, 17 Nov 2008 09:43:50 +0000 (09:43 +0000)
commitcb90532723bd5801b8ac29973dd14e8e30b1e0a9
treeffd87d3d3aca99f07f84c1d71431eb8a66971d00
parenta45cf06a9179bab9c6bbc62dab0964e8d325d630
Another shutdown fix
If we encounter a runnable thread during shutdown, just kill it.  All
the threads are supposed to be dead at this stage, but this catches
threads that might have just returned from a foreign call, or were
finalizers created by the GC.

Fixes memo002(threaded1)
rts/Schedule.c