From owner-freebsd-hackers Wed Nov 29 1:37: 6 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from shell.unixbox.com (shell.unixbox.com [207.211.45.65]) by hub.freebsd.org (Postfix) with ESMTP id 7BE7037B404 for ; Wed, 29 Nov 2000 01:37:04 -0800 (PST) Received: from localhost (fengyue@localhost) by shell.unixbox.com (8.11.1/8.11.0) with ESMTP id eAT9dIT06512; Wed, 29 Nov 2000 01:39:18 -0800 (PST) Date: Wed, 29 Nov 2000 01:39:18 -0800 (PST) From: FengYue X-Sender: fengyue@shell.unixbox.com To: Mohit Aron Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: does pthread package support kernel threads ? In-Reply-To: <200011290932.DAA13775@cs.rice.edu> 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, 29 Nov 2000, Mohit Aron 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. -> -> ->- Mohit -pthread is pure userland thread in fbsd. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message