Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Oct 2000 03:08:54 -0700 (PDT)
From:      jdp@polstra.com
To:        current@freebsd.org
Cc:        eischen@vigrid.com
Subject:   Re: Recent thread changes
Message-ID:  <200010141008.e9EA8sG44179@vashon.polstra.com>
In-Reply-To: <200010132232.SAA05650@pcnet1.pcnet.com>
References:  <200010132232.SAA05650@pcnet1.pcnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <200010132232.SAA05650@pcnet1.pcnet.com>,
Daniel Eischen  <eischen@vigrid.com> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010141008.e9EA8sG44179>