cvs commit: fptools/libraries/base/Foreign Concurrent.hs fptools/libraries/base/GHC ForeignPtr.hs fptools/libraries/base/Text/Regex Posix.hsc

Simon Marlow simonmar@glass.cse.ogi.edu
Wed, 26 Mar 2003 07:25:47 -0800


simonmar    2003/03/26 07:25:47 PST

  Modified files:
    libraries/base/Text/Regex Posix.hsc 
  Added files:
    libraries/base/Foreign Concurrent.hs 
    libraries/base/GHC   ForeignPtr.hs 
  Log:
  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.12      +0 -19     fptools/libraries/base/Text/Regex/Posix.hsc