Bug in touchForeignPtr?
Keean Schupke
k.schupke at imperial.ac.uk
Tue Nov 23 08:46:29 EST 2004
Simon Marlow wrote:
>Note that the GC only starts the finaliser thread. The program can
>still terminate before this thread has run to completion (this is one
>reason why we say that finalisers don't always run before program
>termination).
>
>
This sounds like a bug to me... surely you should wait for all
forked threads to finish before the RTS exits.
Keean.
More information about the Glasgow-haskell-users
mailing list