[ ghc-Bugs-429736 ] "No threads to run" ignores finalizers

noreply@sourceforge.net noreply@sourceforge.net
Sat, 02 Jun 2001 22:21:38 -0700


Bugs item #429736, was updated on 2001-06-02 22:21
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=108032&aid=429736&group_id=8032

Category: Runtime System
Group: 5.00
Status: Open
Resolution: None
Priority: 5
Submitted By: Manuel M. T. Chakravarty (chak)
Assigned to: Nobody/Anonymous (nobody)
Summary: "No threads to run" ignores finalizers

Initial Comment:
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.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=108032&aid=429736&group_id=8032