[cvs-nhc98] Fix some race conditions with file Handles implemented as

Malcolm Wallace malcolm@sparud.net
Mon, 11 Jun 2001 18:13:17 +0200 (CEST)


malcolm: Mon Jun 11 18:13:17 CEST 2001

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

Modified Files:
	cdata.c 
Log Message:
Fix some race conditions with file Handles implemented as ForeignObjs.
  (1) A newly opened file could be garbage collected before being
      attached to the program graph.
  (2) A file closed by hClose could be finalised a second time when it
      was detached from the program graph.