Re: [PATCH v3 08/14] lib: time: hook uthread_schedule() into udelay()

2025-03-05 Thread Jerome Forissier
On 3/4/25 16:24, Jerome Forissier wrote: > Introduce a uthread scheduling loop into udelay() when CONFIG_UTHREAD > is enabled. This means that any uthread calling into udelay() may yield > to uthread and be scheduled again later. The granunlarity of the > scheduling loop is defined by CONFIG_UTH

[PATCH v3 08/14] lib: time: hook uthread_schedule() into udelay()

2025-03-04 Thread Jerome Forissier
Introduce a uthread scheduling loop into udelay() when CONFIG_UTHREAD is enabled. This means that any uthread calling into udelay() may yield to uthread and be scheduled again later. The granunlarity of the scheduling loop is defined by CONFIG_UTHREAD_GRANULARITY. The lower the value, the tighter t