The Revenge of Finalizers
Simon Marlow
simonmar at microsoft.com
Thu Oct 17 05:37:57 EDT 2002
> I'd hoped that blockFinalizers would be useful for defining other
> primitives but since it won't even work for GHC, I agree that PVar
> will meet most of our needs. (An even simpler design might be to
> extend our IORef implementations with 'atomicallyModifyIORef'.)
>
> So, is this a design that we could agree on?
I like it. I'd vote for 'atomicModifyIORef' rather than a new PVar
type, though.
Cheers,
Simon
More information about the FFI
mailing list