Skip to content

"No threads to run" ignores finalizers

This is re my posting under the subject "Weak pointers,
garbage collection & deadlocks" on
glasgow-haskell-users.

Basically, the problem is that finaliser threads that
the next GC would generate aren't taken into account
when determining whether there are any more threads to
run.

I attach a program reproducing the error.
Edited by Edward Z. Yang
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information