
23 Nov
2004
23 Nov
'04
12:01 p.m.
Simon Marlow writes:
Note that the GC only starts the finaliser thread. The program can still terminate before this thread has run to completion [...]
If you want anything else, you can implement it.
How do I implement that particular feature? I don't see how I could write a 'main' function that waits for the finalizer thread having terminated. I really don't know much about the RTS internals, maybe an URL is all I need? Peter