Skip to content
Commit f807d4db authored by Youvedeep Singh's avatar Youvedeep Singh Committed by Anas Nashif
Browse files

Scheduler: Same priority Preemptive threads should get equal time slice



If there are multiple preemptive threads with same priority, and any
one thread preempts before its time slice expires (due to yields/
semaphore take/queue etc), then next schedules thread is getting
lower time slide than expected.
This patch fixes this issue by accounting time expired when a thread
releases CPU before its time slide expires.

Jira: ZEP-2217/ZEP-2218

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