From owner-freebsd-hackers@FreeBSD.ORG Fri May 23 11:15:49 2003 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 0C9CE37B401 for ; Fri, 23 May 2003 11:15:49 -0700 (PDT) Received: from sccrmhc03.attbi.com (sccrmhc03.attbi.com [204.127.202.63]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4BF7343FB1 for ; Fri, 23 May 2003 11:15:48 -0700 (PDT) (envelope-from julian@elischer.org) Received: from interjet.elischer.org (12-232-168-4.client.attbi.com[12.232.168.4]) by attbi.com (sccrmhc03) with ESMTP id <2003052318154700300l89dfe>; Fri, 23 May 2003 18:15:47 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id LAA92074; Fri, 23 May 2003 11:15:46 -0700 (PDT) Date: Fri, 23 May 2003 11:15:44 -0700 (PDT) From: Julian Elischer To: Terry Lambert In-Reply-To: <3ECE3FBE.7EBE5ED5@mindspring.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-hackers@freebsd.org cc: Dan Nelson cc: Daniel Eischen Subject: Re: libkse and SMP (was Re: USB bulk read & pthreads) 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: Fri, 23 May 2003 18:15:49 -0000 On Fri, 23 May 2003, Terry Lambert wrote: > Daniel Eischen wrote: > > This is handy to know; so basically, my expectation from > reading the code around PTHREAD_SCOPE_SYSTEM was correct: > a single CPU system with PTHREAD_SCOPE_PROCESS (the default) > can still get itself blocked in the kernel by a single > blocking call (as in the USB bulk read device issue). No you are completely wrong.. Each PTHREAD_SCOPE_PROCESS gets its OWN KSE to run on. that thread may block but other threads may run unimpeded.