Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Aug 1998 12:00:34 -0400 (EDT)
From:      "Ron G. Minnich" <rminnich@Sarnoff.COM>
To:        Jonathan Lemon <jlemon@americantv.com>
Cc:        Alfred Perlstein <bright@www.hotjobs.com>, hackers@FreeBSD.ORG
Subject:   Re: sfork()?
Message-ID:  <Pine.SUN.3.91.980819115941.12330A-100000@terra>
In-Reply-To: <19980819101735.48927@right.PCS>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 19 Aug 1998, Jonathan Lemon wrote:
> You apparently also need some assembly code to handle management
> of the stack; from my understanding, both processes will share
> the same stack on return from rfork(), and stomp on each other.

from the man page: 

RFMEM   ... The stack segment is always split.  May be set only with
           RFPROC. 

so the stack is not shared from my reading. My rfork() for 2.0.x split 
the stack to.

ron


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SUN.3.91.980819115941.12330A-100000>