On Sun, 18 Oct 2020 19:57:53 +0200 Heiner Kallweit wrote: > > Dunno how acceptable this is to run in an IRQ handler on RT.. > > If I understand this code right then it's not a loop that actually > waits for something. It just retries if the value of n->state has > changed in between. So I don't think we'll ever see the loop being > executed more than twice.
Right, but WCET = inf. IDK if that's acceptable.