Home
last modified time | relevance | path

Searched refs:slice_expired (Results 1 – 4 of 4) sorted by relevance

/Zephyr-Core-3.6.0/tests/kernel/sched/schedule_api/src/
Dtest_slice_scheduling.c149 static void slice_expired(struct k_thread *thread, void *data) in slice_expired() function
195 k_thread_time_slice_set(&t[0], PERTHREAD_SLICE_TICKS, slice_expired, &t[0]); in ZTEST()
/Zephyr-Core-3.6.0/include/zephyr/kernel/
Dthread.h141 k_thread_timeslice_fn_t slice_expired; member
/Zephyr-Core-3.6.0/kernel/
Dsched.c445 static bool slice_expired[CONFIG_MP_MAX_NUM_CPUS]; variable
489 slice_expired[cpu] = true; in slice_timeout()
505 slice_expired[cpu] = false; in z_reset_time_slice()
527 th->base.slice_expired = expired; in k_thread_time_slice_set()
548 if (slice_expired[_current_cpu->id] && sliceable(curr)) { in z_time_slice()
550 if (curr->base.slice_expired) { in z_time_slice()
552 curr->base.slice_expired(curr, curr->base.slice_data); in z_time_slice()
Dthread.c908 thread_base->slice_expired = NULL; in z_init_thread_base()