home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!Sirius.dfn.de!chx400!bernina!wild
- From: wild@nessie.cs.id.ethz.ch (Markus Wild)
- Subject: Re: GNU C and ixemul.library
- Message-ID: <1992Sep5.025457.19504@bernina.ethz.ch>
- Sender: news@bernina.ethz.ch (USENET News System)
- Organization: Swiss Federal Institute of Technology (ETH), Zurich, CH
- References: <mbs.0xqj@adastra.cvl.va.us>
- Date: Sat, 5 Sep 1992 02:54:57 GMT
- Lines: 22
-
- In article <mbs.0xqj@adastra.cvl.va.us> mbs@adastra.cvl.va.us (Michael B. Smith) writes:
- >The ixemul.library fork() is NOT a real fork(), in the Unix/POSIX sense of
-
- This is definitely right, fork() is a plain stub returning error, and the
- error cause being `no more processes' or the like, don't remember exactly.
-
- >The fork() is really only a vfork().
-
- Wrong, sorry Mike;-) I wouldn't have dared to do this, vfork() is *not*
- fork(), so I have fork fail, and the programmer has to invent his own fork,
- if he wants the program to work. Pdksh is indeed a nice example of the problems
- you're faced with if you want to do fork-like stuff with AmigaDOS...
-
- Pdksh is a particularly nice example because the overall structure made it
- easy to copy dynamic memory. In not so well designed programs, this task
- may be simply not feasible...
-
- -Markus
- --
- Markus M. Wild - wild@nessie.cs.id.ethz.ch | wild@amiga.physik.unizh.ch
- Vital papers will demonstrate their vitality by spontaneously moving
- from where you left them to where you can't find them.
-