From owner-freebsd-hackers@FreeBSD.ORG Sat Apr 23 05:51:46 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A3A5C16A4CE for ; Sat, 23 Apr 2005 05:51:46 +0000 (GMT) Received: from orthanc.ca (orthanc.ca [209.89.70.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D17C43D48 for ; Sat, 23 Apr 2005 05:51:46 +0000 (GMT) (envelope-from lyndon@orthanc.ca) Received: from d216-232-211-96.bchsia.telus.net (d216-232-211-96.bchsia.telus.net [216.232.211.96]) (authenticated bits=0) by orthanc.ca (8.13.3/8.13.3) with ESMTP id j3N5pLpq062526 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 22 Apr 2005 23:51:23 -0600 (MDT) (envelope-from lyndon@orthanc.ca) Date: Fri, 22 Apr 2005 22:51:21 -0700 From: Lyndon Nerenberg To: FreeBSD Hackers Message-ID: <9328DC9EC69D53548F9E444F@peregrin.orthanc.ca> In-Reply-To: <5bbfe7d4050422150226c6712d@mail.gmail.com> References: <5bbfe7d40504220842578b2d2d@mail.gmail.com> <426953C5.9080502@elischer.org> <5bbfe7d4050422150226c6712d@mail.gmail.com> X-Mailer: Mulberry/4.0.0a7 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-DCC-MessageCare-Metrics: orthanc.ca 1108; Body=1 Fuz1=1 Fuz2=1 X-Spam-Status: No, score=3.9 required=5.0 tests=AWL,BAYES_00, HELO_DYNAMIC_IPADDR,RCVD_IN_NJABL_DUL,RCVD_IN_SORBS_DUL autolearn=no version=3.0.2 X-Spam-Level: *** X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on orthanc.ca X-Mailman-Approved-At: Sat, 23 Apr 2005 12:09:41 +0000 Subject: Re: libthread 1:1 threads X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Apr 2005 05:51:46 -0000 --On 2005-4-22 3:02 PM -0700 David Leimbach wrote: > According to the man page, and plan 9 where rfork originated you can > use it to modify an extant process. In fact you have to set the > RFPROC flag to make a new process or all the changes apply to the > current one. Unfortunately the semantics of FreeBSD rfork() have diverted far enough from the original plan9 rfork() such that you can't consider it as the same call. This makes life miserable for things like running Inferno on FreeBSD. --lyndon