pthread_yield(3) Library Functions Manual pthread_yield(3) pthread_yield - POSIX (libpthread, -lpthread) #define _GNU_SOURCE /* feature_test_macros(7) */ #include [[deprecated]] int pthread_yield(void); Note: This function is deprecated; see below. pthread_yield() . , . sched_yield(2). pthread_yield() 0; . Linux ( ). attributes(7). +----------------------------+----------------------------------------------------------+--------------------------+ | | | | +----------------------------+----------------------------------------------------------+--------------------------+ |pthread_yield() | | MT-Safe | +----------------------------+----------------------------------------------------------+--------------------------+ Linux sched_yield(2). . Deprecated since glibc 2.34. Use the standardized sched_yield(2) instead. pthread_yield() (. ., SCHED_FIFO SCHED_RR). pthread_yield() , SCHED_OTHER, , , . sched_yield(2), pthreads(7), sched(7) () Alexey, Azamat Hackimov , kogamatranslator49 , Darima Kogan , Max Is , Yuri Kozlov , Kirill Rekhov ; GNU (GNU General Public License - GPL, 3 ) , - . - , , () () () <>. Linux 6.15 17 2025 . pthread_yield(3)