[project @ 2003-03-26 15:25:46 by simonmar]
authorsimonmar <unknown>
Wed, 26 Mar 2003 15:25:46 +0000 (15:25 +0000)
committersimonmar <unknown>
Wed, 26 Mar 2003 15:25:46 +0000 (15:25 +0000)
commitaeb286a558180b83258acfa65784248a0e7923ee
treec858b6ad23a31a49a8c6b6101b4cbc9f2bf979b8
parent45125442af57100b7ba8494f3ec68af610ad1fd3
[project @ 2003-03-26 15:25:46 by simonmar]
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/Concurrent.hs [new file with mode: 0644]
GHC/ForeignPtr.hs [new file with mode: 0644]
Text/Regex/Posix.hsc