From owner-freebsd-hackers Fri Jul 28 12:16:18 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mta5.rcsntx.swbell.net (mta5.rcsntx.swbell.net [151.164.30.29]) by hub.freebsd.org (Postfix) with ESMTP id DC72637BC18 for ; Fri, 28 Jul 2000 12:16:12 -0700 (PDT) (envelope-from chris@holly.calldei.com) Received: from holly.calldei.com ([208.191.149.190]) by mta5.rcsntx.swbell.net (Sun Internet Mail Server sims.3.5.2000.01.05.12.18.p9) with ESMTP id <0FYF00L9E9A0LQ@mta5.rcsntx.swbell.net> for freebsd-hackers@FreeBSD.ORG; Fri, 28 Jul 2000 14:10:49 -0500 (CDT) Received: (from chris@localhost) by holly.calldei.com (8.9.3/8.9.3) id OAA42362; Fri, 28 Jul 2000 14:08:55 -0500 (CDT envelope-from chris) Date: Fri, 28 Jul 2000 14:08:54 -0500 From: Chris Costello Subject: Re: BSD,Posix,Linux Threading - Are they really useable? In-reply-to: <200007281538.JAA22915@nomad.yogotech.com> To: Nate Williams Cc: Bjorn Tornqvist , freebsd-hackers@FreeBSD.ORG Reply-To: chris@calldei.com Message-id: <20000728140854.L37935@holly.calldei.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii User-Agent: Mutt/0.96.4i References: <398111DA.443B41F9@tornqvist.net> <20000728003913.K37935@holly.calldei.com> <200007281538.JAA22915@nomad.yogotech.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Friday, July 28, 2000, Nate Williams wrote: > > That is incorrect. FreeBSD's userland pthread implementation > > does not block the whole process on I/O. POSIX does not specify > > this behavior either. > Actually, sometimes it does (for example when reading from an I/O device > where select can't be used succesfully). Hmm. That's true. And that's where uthreads has its main problems as I understand it. > > > FreeBSD Kernel-threads (dunno what they are called actually) can't be > > > used natively!? (Searched the archives and found an explanation that the > > > only way to access normal kernel SMP-thread functionality is to use > > > LinuxThreads) > > FreeBSD's kernel threads are for separate threads of execution > > in the kernel and aren't the same thing as threads for a user > > process. > You're missing the point. He's asking for 'kernel threads' so that > multiple independant thread of execution for a given 'userland process' > can be running simulataneously (virtually on a UP, and realistically on > a MP). I thought he had seen the term 'kernel threads' in the context of FreeBSD before, likely in the context of kthread_create() in the kernel. -- |Chris Costello |May the force be... your umbrella! - Plucky Duck `------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message