Re: Drift through k_sleep or k_msleep #api
toggle quoted messageShow quoted text
One possible solution is to create a periodic timer and post to a semaphore in the timer callback.
A thread could simply wait on the semaphore in an endless loop.
Linux clock_nanosleep (mostly used togheter with Preempt-rt patch) would be a nice addition to Zephyr, that would solve these kinds of tasks.
Den ons 3 feb. 2021 kl 20:31 skrev Nikolaus Huber <nikolaus.huber@...>: