]> git.ipfire.org Git - thirdparty/man-pages.git/commit
sched_yield.2: NOTES: Remove misleading sentence
authorAlejandro Colomar <alx@kernel.org>
Wed, 3 May 2023 16:26:12 +0000 (18:26 +0200)
committerAlejandro Colomar <alx@kernel.org>
Wed, 3 May 2023 16:43:57 +0000 (18:43 +0200)
commit2f53e3a7e30432f40dd6bcc9dc63c60b01a1cebf
tree54742c341f09b42c6297e979ac06079038df2539
parenta4803e53aa7bed4d40aea8e40c21460ca48fe66a
sched_yield.2: NOTES: Remove misleading sentence

sched_yield(2) is not the right thing for heavily contended resources.
The right thing to do is to call functions that wake the waiting threads.

Link: <https://www.realworldtech.com/forum/?threadid=189711&curpostid=189752>
Cc: Andrew Clayton <a.clayton@nginx.com>
Signed-off-by: Alejandro Colomar <alx@nginx.com>
man2/sched_yield.2