[project @ 2003-03-27 10:24:43 by simonmar]
authorsimonmar <unknown>
Thu, 27 Mar 2003 10:24:43 +0000 (10:24 +0000)
committersimonmar <unknown>
Thu, 27 Mar 2003 10:24:43 +0000 (10:24 +0000)
commit02f6aa28c32351f5699271f4447849fd328ac677
tree9714fad85601a592fb97669c845a98b3f1de00b5
parentaeb286a558180b83258acfa65784248a0e7923ee
[project @ 2003-03-27 10:24:43 by simonmar]
[ oops, forgot to commit this with the rest of the changes yesterday... ]

Change our ForeignPtr implementation to match the spec: finalizers
must now be foreign functions.

Move the old Haskell-finalizer versions of newForeignPtr and
addForeignPtrFinalizer into Foreign.Concurrent, to make it clear that
the implementations of these functions require concurrency.

While I'm here: move the GHC-specific parts of the ForeignPtr
implementation into GHC.ForeignPtr.
Foreign/ForeignPtr.hs