ANNOUNCE: GHC 6.10.2 Release Candidate 1

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Thu Mar 19 20:06:54 EDT 2009


On Thu, 2009-03-19 at 16:34 -0700, Don Stewart wrote:
> We must have the gtk2hs team invovled in this discussion. They were
> using an undocumented feature. It may be trivial to fix.

> > > This will need to be fixed in gtk2hs.  Previously GHC allowed finalizers
> > > to call back into Haskell, but this was never officially supported.  Now it
> > > is officially unsupported, because finalizers created via
> > > Foreign.mkForeignPtr are run directly by the garbage collector.

I had a quick look but so far I cannot see where any callback into
Haskell is happening. The only interesting case I've found is one
finaliser which is implemented in C and uses hs_free_stable_ptr.

Duncan



More information about the Glasgow-haskell-users mailing list