From owner-freebsd-hackers Wed Nov 29 1:35:35 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 0738437B400 for ; Wed, 29 Nov 2000 01:35:34 -0800 (PST) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id eAT9ZX811435; Wed, 29 Nov 2000 01:35:33 -0800 (PST) Date: Wed, 29 Nov 2000 01:35:33 -0800 From: Alfred Perlstein To: Mohit Aron Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: does pthread package support kernel threads ? Message-ID: <20001129013532.I8051@fw.wintelcom.net> References: <200011290932.DAA13775@cs.rice.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200011290932.DAA13775@cs.rice.edu>; from aron@cs.rice.edu on Wed, Nov 29, 2000 at 03:32:40AM -0600 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Mohit Aron [001129 01:32] wrote: > Hi, > FreeBSD provides the pthread package (available through the > use of the option -pthread to gcc). Does this package use user-level > threads or does it use kernel threads ? I believe the kernel supports > multiple threads in the same address space using the rfork() system > call. -pthreads is userland threads the linux-threads port supports rfork based threads. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message