standards/46119: Priority problems for SCHED_OTHER using pthreads

David Xu davidxu at freebsd.org
Sun Nov 26 19:10:13 PST 2006


The following reply was made to PR standards/46119; it has been noted by GNATS.

From: David Xu <davidxu at freebsd.org>
To: bug-followup at FreeBSD.org,  steff at tdc.dk
Cc:  
Subject: Re: standards/46119: Priority problems for SCHED_OTHER using pthreads
Date: Mon, 27 Nov 2006 11:02:52 +0800

 I really would like to see SCHED_OTHER only returns one level of
 priority, that means, for sched_get_priority_min(SCHED_OTHER) and
 sched_get_priority_max(SCHED_OTHER), it will return only zero
 instead of other ranges, because for time-sharing scheduling,
 knowing and adjusting thread's userland priority is meaningless,
 the priority is ephemeral.
 
 David Xu
 


More information about the freebsd-standards mailing list