Re: Shutting Down the RTS

2003-01-12 Thread John Meacham
An advantage of solution #2 is that the finalizers dont go through and touch all the pages they modify causing them to be loaded into memory if they had been swapped to disk and thrash the page lookup cache on the CPU. The overhead of the RTS in general might drown out these concerns but they are d

Shutting Down the RTS

2003-01-12 Thread Wolfgang Thaller
I'm almost ready to send in a patch that should fix most of the current issues with the threaded RTS. But I'm stuck at the problem of terminating the RTS in a proper way. According to the GHC manual, a concurrent Haskell program should terminate when the main action terminates. This sounds r