From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 20 21:25:50 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 696C616A416; Fri, 20 Oct 2006 21:25:50 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A6EF43D72; Fri, 20 Oct 2006 21:25:02 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (h1yw8kzrn8sznd5b@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.6/8.13.3) with ESMTP id k9KLP1id028102; Fri, 20 Oct 2006 14:25:01 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.6/8.13.3/Submit) id k9KLOwYS028094; Fri, 20 Oct 2006 14:24:58 -0700 (PDT) (envelope-from jmg) Date: Fri, 20 Oct 2006 14:24:57 -0700 From: John-Mark Gurney To: David Xu Message-ID: <20061020212457.GQ23971@funkthat.com> Mail-Followup-To: David Xu , Divacky Roman , freebsd-hackers@freebsd.org, Ekkehard Morgenstern References: <200610150326.03279.ekkehard.morgenstern@onlinehome.de> <20061016120859.E146C2287D@snail.stack.nl> <20061017081056.GA73188@stud.fit.vutbr.cz> <200610171717.30834.davidxu@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200610171717.30834.davidxu@freebsd.org> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: freebsd-hackers@freebsd.org, Divacky Roman , Ekkehard Morgenstern Subject: Re: Threading system calls (int 80h) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Oct 2006 21:25:50 -0000 David Xu wrote this message on Tue, Oct 17, 2006 at 17:17 +0800: > work in the past. Also rfork() does not allow you to specify user stack, you > have to add some tricky code to make it safe before new > thread really can do real work, [...] That's why you use rfork_thread(3)... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."