🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: mod.computers.68k
Article #160

Re: Submission for mod-computers-68k (really Nuxi fork())

#160
From: m5d
Date: Tue, 17 Feb 1987 17:50
33 lines
2168 bytes
In article <8702131404.AA03521@mcrware.UUCP> jejones@mcrware.UUCP (James Jones) writes:
>The earlier mention was right; a OS-9 process's data memory does not get
>moved.  (Of course, 99.9+% of programs under Unix that use fork() read
>
>	if (fork() == /* whatever says I'm the child */)
>		exec[a-z]*("what I really wanted to run", ...);
>
>so I don't think that OS-9's at any great loss for not having Unix's
>fork().)
>
>		James Jones

I'll agree that most calls to fork() are followed soon after by an
execve(), but not immediately.  Files might be closed or opened,
priorities changed, and various other things might happen before the
new program is loaded.

And this still doesn't address the small minority of programs that
DON'T execve() after a fork().  For example, the shell -- when it runs
a loop in a subshell, it of course doesn't re-load itself.  It just
calls fork() and the child runs the loop (after redirecting any
files).

I think that lack of a real Unix fork() is THE great loss of OS9.
(Along with lesser things like one-ended pipes, no signal queue, no
in-core inode table for text sharing, ...)  For a CoCo, OS9 is a big
step up.  For a 68000 system, however, I want real software.

-- 
Mike McNally, mercifully employed at Digital Lynx ---
    Where Plano Road the Mighty Flood of Forest Lane doth meet,
    And Garland fair, whose perfumed air flows soft about my feet...
uucp: {texsun,killer,infotel}!pollux!bobkat!m5d (214) 238-7474
Technical Details
Message-ID: <8702171750.AA05745@bobkat>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!cbatt!ucbvax!bobkat.UUCP!m5d
References: <8702131404.AA03521@mcrware.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!cbatt!ucbvax!bobkat.UUCP!m5d
From: m5d@bobkat.UUCP.UUCP
Newsgroups: mod.computers.68k
Subject: Re: Submission for mod-computers-68k (really Nuxi fork())
Message-ID: <8702171750.AA05745@bobkat>
Date: Tue, 17-Feb-87 12:50:27 EST
Article-I.D.: bobkat.8702171750.AA05745
Posted: Tue Feb 17 12:50:27 1987
Date-Received: Wed, 18-Feb-87 22:48:21 EST
References: <8702131404.AA03521@mcrware.UUCP>
Sender: mwm@ucbvax.BERKELEY.EDU
Reply-To: bobkat!m5d (Mike McNally (dlsh))
Organization: Digital Lynx, Inc; Dallas, TX
Lines: 33
Approved: info-68k@ucbvax.berkeley.edu