Skip to content
Discussion options

You must be logged in to vote

It doesn’t appear to be a regression in the Zephyr project itself, but rather something specific to how your application is set up.

To better understand the behavior, the following documentation may be helpful:

One way to experiment is to create two cooperative threads at the same priority and see how they behave with different CONFIG_TIMESLICE_SIZE values. This can give you a clearer picture of how timeslicing affects scheduling.

My initial thought is that you might have several threads with the same priority. With CONFIG_TIMESLICE_SIZE=0, Zephyr lets a thread run as long as it needs, but once you set a non-zero value, the scheduler will preempt and swi…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by moonlight83340
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants