🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: mod.computers.68k
1 messages
1 total messages Started by on Monster Island Mon, 23 Mar 1987 09:05
Re: Questions about the use of fork()
#209
Author: on Monster Island
Date: Mon, 23 Mar 1987 09:05
25 lines
1595 bytes
mwm@violet.berkeley.edu wrote - What I prefer is two system calls:

>1) fexec - run another process in a fork, with a block describing how
>the environment should be modified on the way. As stated above, this
>does what you want for a new process most of the time.

This seems highly reasonable and probably should have been there all
along.

>2) newthread - roughly, vfork in 4BSD. This creates another process
>that shares all resources with the parent. If either one does an
>exit() (or exec()) the other one just continues. YOu probably want to
>schedule the child to run first. Some technic for rendezvous will be
>required.

The only gotcha here is the issue of signal handling between processes.
If the parent ublock and ptable stuff stick around is it possible for 
the parent to take the signals meant for the child?

PS - this sounds very much like mach eh?


    Steve Blasingame (Oklahoma City)
    ihnp4!occrsh!gorgo!bsteve
    bsteve@eris.berkeley.edu
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads