What kinds of things would you want in the GNU OS?

John F. Haugh II jfh at rpp386.Dallas.TX.US
Wed May 31 14:08:07 AEST 1989


In article <4347 at ficc.uu.net> peter at ficc.uu.net (Peter da Silva) writes:
>An efficient version of threads would not even duplicate the stack area...
>instead the child would have a virgin stack, wit its starting address
>passed from the parent. It's highlt desirable to make thread creation
>a cheap process.

You have to duplicate the stack - even if you only duplicate it via
a copy-on-write mechanism.

As you unwind stack frames in either thread, you would reach a point
where you start trashing the stack frames of the either thread.
-- 
John F. Haugh II                        +-Button of the Week Club:-------------
VoiceNet: (512) 832-8832   Data: -8835  | "AIX is a three letter word,
InterNet: jfh at rpp386.Cactus.Org         |  and it's BLUE."
UucpNet : <backbone>!bigtex!rpp386!jfh  +--------------------------------------



More information about the Comp.unix.wizards mailing list