So do we agree the documentation is at best misleading? And, to me, simply wrong?

On 26/11/2025 18:07, Alan C. Assis wrote:
Exactly!

You can refer to sched/sched/sched_timerexpiration.c line 207

On Wed, Nov 26, 2025 at 3:00 PM Tim Hardisty <[email protected]>
wrote:

That's what I inferred (yet to try it) - so is the documentation
misleading since the default CONFIG_RR_INTERVAL=200 forces RR scheduling
rather than the stated "strict priority scheduling"?

On 26/11/2025 17:54, Alan C. Assis wrote:
CONFIG_RR_INTERVAL=0

On Wed, Nov 26, 2025 at 2:22 PM Tim Hardisty <[email protected]>
wrote:

Apologies if this isn't really a NuttX question...

Documentation says "By default, NuttX performs strict priority
scheduling".
Default CONFIG_RR_INTERVAL is 200ms.

I have multiple threads, but have not set any scheduling parameters, but
it seems threads are being scheduled every 200ms rather on a priority
basis.

What *should* I be doing, please, to get all my threads scheduled by
priority?

Thanks,

TimH

PS - yes I have thrown myself in the deep end without a life jacket with
my project. And I'm no doubt up ****-creek without a paddle. But I am
always learning!

Reply via email to