On 05.04.22 15:10, Richard Weinberger wrote: > On Tue, Apr 5, 2022 at 3:02 PM Bezdeka, Florian via Xenomai > <xenomai@xenomai.org> wrote: >> I'm not sure if waiting is really what we want. I like the idea of >> moving the work into struct xnthread as Jan already suggested >> internally. > > Well, the wait is cheap, it does not involve scheduling. > I'm not sure whether further bloating struct xnthread is wise either. >
Let's not optimize before we are actually sure that the issue is what we assume it to be. I would like to have an explanation or prove points (traces, assertions) that we actually see xnthread_relax overtaking the delivery of its own wakework. Jan -- Siemens AG, Technology Competence Center Embedded Linux