From owner-freebsd-hackers Wed Aug 19 09:01:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA06026 for freebsd-hackers-outgoing; Wed, 19 Aug 1998 09:01:46 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from terra.Sarnoff.COM (terra.sarnoff.com [130.33.11.203]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id JAA06021 for ; Wed, 19 Aug 1998 09:01:43 -0700 (PDT) (envelope-from rminnich@Sarnoff.COM) Received: (from rminnich@localhost) by terra.Sarnoff.COM (8.6.12/8.6.12) id MAA12432; Wed, 19 Aug 1998 12:00:34 -0400 Date: Wed, 19 Aug 1998 12:00:34 -0400 (EDT) From: "Ron G. Minnich" X-Sender: rminnich@terra To: Jonathan Lemon cc: Alfred Perlstein , hackers@FreeBSD.ORG Subject: Re: sfork()? In-Reply-To: <19980819101735.48927@right.PCS> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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