Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 May 1997 13:28:11 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        julian@whistle.com (Julian Elischer)
Cc:        terry@lambert.org, davem@caip.rutgers.edu, deischen@iworks.InterWorks.org, freebsd-hackers@FreeBSD.ORG, jb@freebsd1.cimlogic.com.au
Subject:   Re: GNAT-pthreads integration bugs/questions
Message-ID:  <199705192028.NAA24668@phaeton.artisoft.com>
In-Reply-To: <3380B7DE.493F66A8@whistle.com> from "Julian Elischer" at May 19, 97 01:28:14 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> > There is no threads stack in an rfork.
>
> actually terry there IS
> 
> fork is like linux CLONE (with the correct options set)
> and simply increments a reference count to the VM structure.
> thus ALL vm regions are shared.
> (unless you try some fancy options)

You're twisting on a technicality.  The stack is pointed to by a
proc struct, not managed in user space, like a threads stack.  It
is also auto-gorw (also unlike a threads stack).


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705192028.NAA24668>