c - What does sched_yield do in this case? -


if have process threads running on different cores, sched_yield in case? relinquished , issued again? because see sched_yield not cause thread calling it, wait cycles @ all, seems call not going kernel.

the man page says:

if calling thread thread in highest priority list @ time, continue run after call sched_yield().

so if there's nothing more important run, function nothing.


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -