On Jul 13 14:14, Jon Turney wrote:
> Take note of schedparam in any pthread_attr_t passed to pthread_create.
> 
> postcreate() (racily, after the thread is actually created), sets the
> scheduling priority if it's inherited, but precreate() doesn't store any
> scheduling priority explicitly set via a non-default attr to create, so
> schedparam.sched_priority has the default value of 0.
> 
> (I think this is another long-standing bug exposed by 4b51e4c1.  Now we
> don't lie about the actual thread priority, it's apparent it's not
> really being set in this case.)
> 
> Fixes testcase priority2.

Fixes: tag?
Signed-off-by: tag?

Looks good otherwise.


Thanks,
Corinna

Reply via email to