Bug in touchForeignPtr?

Peter Simons simons at cryp.to
Tue Nov 23 12:01:29 EST 2004


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



More information about the Glasgow-haskell-users mailing list