cvs commit: fptools/libraries/base/Foreign ForeignPtr.hs

Simon Marlow simonmar@glass.cse.ogi.edu
Thu, 27 Mar 2003 02:24:44 -0800


simonmar    2003/03/27 02:24:44 PST

  Modified files:
    libraries/base/Foreign ForeignPtr.hs 
  Log:
  [ 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.
  
  Revision  Changes    Path
  1.16      +20 -187   fptools/libraries/base/Foreign/ForeignPtr.hs