Zephyr API 3.6.99
Loading...
Searching...
No Matches
kernel_structs.h File Reference

Go to the source code of this file.

Macros

#define K_NUM_THREAD_PRIO   (CONFIG_NUM_PREEMPT_PRIORITIES + CONFIG_NUM_COOP_PRIORITIES + 1)
 
#define PRIQ_BITMAP_SIZE   (DIV_ROUND_UP(K_NUM_THREAD_PRIO, BITS_PER_LONG))
 

Typedefs

typedef void(* k_thread_timeslice_fn_t) (struct k_thread *thread, void *data)
 

Macro Definition Documentation

◆ K_NUM_THREAD_PRIO

#define K_NUM_THREAD_PRIO   (CONFIG_NUM_PREEMPT_PRIORITIES + CONFIG_NUM_COOP_PRIORITIES + 1)

◆ PRIQ_BITMAP_SIZE

#define PRIQ_BITMAP_SIZE   (DIV_ROUND_UP(K_NUM_THREAD_PRIO, BITS_PER_LONG))

Typedef Documentation

◆ k_thread_timeslice_fn_t

typedef void(* k_thread_timeslice_fn_t) (struct k_thread *thread, void *data)