> The Right Thing is probably to eventually run the GC on a private thread, > at least when multiple threads are running at all. That way the finalizers > run on the same thread that doesn't hold any locks or otherwise risk > trouble. That's what the JVM and the CLR do. >
Yes, this was already the consensus, but thready/interrupts/IO/finalizers and all the interactions between them need an overhaul anyway. felix