pthread_yield(3) Library Functions Manual pthread_yield(3) pthread_yield - LIBRARY POSIX threads library (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). None. 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 , Kogan, Max Is , Yuri Kozlov ; GNU 3 , . . , , . Linux man-pages 6.06 31 2023 . pthread_yield(3)