Skip to content
Commit aa4f495b authored by Youvedeep Singh's avatar Youvedeep Singh Committed by Andrew Boie
Browse files

kernel: POSIX: correcting default thread prio & policy in attr.



This patch does following:-
1. Default scheduling policy should be set to SCHED_RR only when
Preemptive is enabled.
2. Default priority in attr object should equivalent to
K_LOWEST_APPLICATION_THREAD_PRIO. Posix priority corresponding
to K_LOWEST_APPLICATION_THREAD_PRIO is 1.

Signed-off-by: default avatarYouvedeep Singh <youvedeep.singh@intel.com>
parent cf07caa3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment