Re: [GHC] #551: "No threads to run" ignores finalizers

#551: "No threads to run" ignores finalizers -------------------------------------+------------------------------------ Reporter: chak | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Runtime System | Version: 5.0 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Changes (by ezyang): * status: closed => new * failure: => None/Unknown * cc: simonmar (added) * resolution: Fixed => * difficulty: => Unknown * architecture: => Unknown/Multiple * owner: simonmar => * os: => Unknown/Multiple Old description:
{{{ 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. }}}
New description: {{{ 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. }}} -- Comment: Reopening as per previous commit message. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/551#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC