Skip to content
Commit 57487622 authored by Hu Zhenyu's avatar Hu Zhenyu Committed by Anas Nashif
Browse files

kernel: Init the base.slice_ticks for dummy_thread



Fixes #46324
Set dummy_thread->base.slice_ticks to 0 when
CONFIG_TIMESLICE_PER_THREAD is set. To avoid
_current_cpu->slice_ticks be a big number.

Signed-off-by: default avatarHu Zhenyu <zhenyu.hu@intel.com>
parent 6c67239b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment