Searched refs:slice_expired (Results 1 – 4 of 4) sorted by relevance
149 static void slice_expired(struct k_thread *thread, void *data) in slice_expired() function195 k_thread_time_slice_set(&t[0], PERTHREAD_SLICE_TICKS, slice_expired, &t[0]); in ZTEST()
141 k_thread_timeslice_fn_t slice_expired; member
445 static bool slice_expired[CONFIG_MP_MAX_NUM_CPUS]; variable489 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()
908 thread_base->slice_expired = NULL; in z_init_thread_base()