[cvs-nhc98] Changes for ForeignObj/ForeignPtr finalisers.

Malcolm Wallace malcolm@sparud.net
Mon, 7 Oct 2002 15:45:48 +0200 (CEST)


malcolm: Mon Oct  7 15:45:48 CEST 2002

Update of /usr/src/master/nhc/src/runtime/Kernel
In directory hinken:/tmp/cvs-serv6855

Modified Files:
	cdata.c collector.c haskellInit.c 
Log Message:
Changes for ForeignObj/ForeignPtr finalisers.
  * New primitive
    primForeignPtrC :: Ptr a -> FunPtr (Ptr a -> IO ()) -> IO ForeignPtr a
  * Small fixes to `runDeferredGCs' so that delayed finalisers of type
    IO () actually run correctly, and at the right time.