From owner-freebsd-current Sat Oct 14 3: 9: 4 2000 Delivered-To: freebsd-current@freebsd.org Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (Postfix) with ESMTP id A74BA37B66C for ; Sat, 14 Oct 2000 03:09:02 -0700 (PDT) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.9.3/8.9.3) with ESMTP id DAA04822; Sat, 14 Oct 2000 03:08:54 -0700 (PDT) (envelope-from jdp@wall.polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.11.0/8.11.0) id e9EA8sG44179; Sat, 14 Oct 2000 03:08:54 -0700 (PDT) (envelope-from jdp) Date: Sat, 14 Oct 2000 03:08:54 -0700 (PDT) From: jdp@polstra.com Message-Id: <200010141008.e9EA8sG44179@vashon.polstra.com> To: current@freebsd.org Cc: eischen@vigrid.com Subject: Re: Recent thread changes In-Reply-To: <200010132232.SAA05650@pcnet1.pcnet.com> References: <200010132232.SAA05650@pcnet1.pcnet.com> Organization: Polstra & Co., Seattle, WA Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article <200010132232.SAA05650@pcnet1.pcnet.com>, Daniel Eischen wrote: > > I've just committed some changes to the threads library > and would appreciate feedback from anyone running threaded > applications. They include fixes that -stable could really > use. > > This commit also implements zero system call thread context > switching in the threads library. Switching between threads > is now much faster than before this change. This sounds like great stuff! > The range of valid priorities has also changed, perhaps > requiring a library version bump. The range of valid priorities > is not visible outside of the threads library. The only > way it can be determined is through trial and error, so > it _shouldn't_ be an issue. I thought you could get that information with sched_get_priority_min() and sched_get_priority_max(). Is that not the case? John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message