Email List: Xaustin-review-lX
[All Lists]

sched_setparam() clarification

To: yyyyyyyyyyyyyyy@xxxxxxxxxxxxx
Subject: sched_setparam() clarification
From: Mark Brown <yyyyy@xxxxxxxxxx>
Date: Thu, 6 Mar 2003 09:59:57 -0600
There is a questionable element of sched_setparam() for which 
we want clarification that the behavior as written is truly what 
is intended by the standard.

XSH p.1232, lines 38394-38395

     "The target process, whether it is running or not running, 
      shall be moved to the tail of the thread list for its priority."

This has the effect of forcing a running process to yield if its 
priority is set to its current priority.  It seems peculiar to force
a running process to yield the CPU if its priority has not been made 
less favorable.  Is this actually as intended? 


-------------------
Mark S. Brown 
STSM, UNIX/Linux OS Standards
IBM Systems Group
yyyyy@xxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>