On 14.04.22 17:41, Richard Weinberger wrote: > ----- Ursprüngliche Mail ----- >>> Did the nucleus CPU scheduler guarantee that giving another task >>> the same priority of the calling task will favour the caller? >>> Now the gifted task seems to win. >> >> Did you configure with --enable-lazy-setsched? If not, set_prio should >> send the caller to Linux, and that will definitely cause some scheduling >> change. > > Yes. -enable-lazy-setsched is set. >
Then it's better to trace than to speculate. Jan -- Siemens AG, Technology Competence Center Embedded Linux