delorie.com/archives/browse.cgi | search |
> From: 048321887-0001 AT t-online DOT de (Udo Kuhnt) > Newsgroups: comp.os.msdos.djgpp > Date: 23 May 2004 06:27:29 -0700 > > If a file had been opened by the parent process, it should also be open for > the child process which can access it using the same handle. If the child > closes the file in its VM using the handle, it will still be open in the > parent's VM. And the latter means that just copying is not good: it is a frequent case that the child closes one or more of inherited handles that it doesn't need. You don't want that to invalidate the handle in the parent, since existing programs don't expect such a calamity. Se perhaps writing a (16-bit real-mode) program to test this aspect would be a useful first step.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |