Subject: Re: religion
From: (Rob Warnock)
Date: Thu, 12 Sep 2002 04:42:42 -0000
Newsgroups: comp.lang.scheme,comp.lang.lisp
Message-ID: <>
Hannah Schroeter <> wrote:
| Will Deakin  <> wrote:
| >I belive that on Solaris/SPARC 7+ most of the process state is shared 
| >with the LWP -- that is address space, stack and so on.
| How do you share the stack if different LWPs are to have different
| threads of execution, i.e. different function call stacks?

Seems like one ought to be able to use copy-on-write on the stack segment,
wherein the sharing breaks when a thread extends the stack, while doing
ordinary sharing on the text and data segments (including shared libs).

This *would* have the limitation that one thread would not be able to
access the stack of another thread, so that all interthread communication
would have to be done through the data segment. Is that acceptable?
Your call...


Rob Warnock, PP-ASEL-IA		<>
627 26th Avenue			<URL:>
San Mateo, CA 94403		(650)572-2607