aboutsummaryrefslogtreecommitdiff
path: root/b3ceaaf51acff8814fc0ed62b5745e1d6825648d
diff options
context:
space:
mode:
authorJere Leppänen <jere.leppanen@nokia.com>2024-04-11 17:49:05 +0300
committerPetri Savolainen <petri.savolainen@nokia.com>2024-04-26 09:28:43 +0300
commit86d16818c81a5b83ef9093f193afc65311603e88 (patch)
treea4d03fdf2f67058dcb059d2d088a0ed69d06929e /b3ceaaf51acff8814fc0ed62b5745e1d6825648d
parent8204a056762d5ef4736974cd7797d6f5a09bfa20 (diff)
linux-gen: timer: don't use sched_yield()HEADmaster
Replace all usage of sched_yield() with odp_cpu_pause(). The man page states that "sched_yield() is intended for use with real-time scheduling policies [...] Use of sched_yield() with nondeterministic scheduling policies such as SCHED_OTHER is unspecified and very likely means your application design is broken." Signed-off-by: Jere Leppänen <jere.leppanen@nokia.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Diffstat (limited to 'b3ceaaf51acff8814fc0ed62b5745e1d6825648d')
0 files changed, 0 insertions, 0 deletions