8 -- Bug reported by Manuel Chakravarty, namely that we weren't checking
9 -- for runnable finalizers before declaring that the program is
13 -- gcThread -- with this thread enabled, no error
16 addFinalizer p (set p)
20 set (P mv) = putMVar mv True
22 -- this is just to demonstrate that it is only about the GC timing
24 gcThread = forkIO $ let gc = do