hpux man page for pthread_yield

Query: pthread_yield

OS: hpux

Section: 3t

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

pthread_yield(3T)														 pthread_yield(3T)

NAME
pthread_yield() - notify the scheduler that the current thread is willing to relinquish the use of its processor
SYNOPSIS
PARAMETERS
None.
DESCRIPTION
The function notifies the scheduler that the current thread is willing to relinquish the use of its processor to other threads of equiva- lent or higher priority. If the run queue is empty or if no other threads of equivalent or greater scheduling priority are ready to exe- cute when the function is called, then the calling thread is immediately rescheduled. If the calling thread has the system contention scope then calling this function notifies the kernel scheduler. If the calling thread has the process contention scope then calling this function notifies the user space scheduler.
RETURN VALUE
Upon successful completion, returns zero.
ERRORS
None.
AUTHOR
was developed by HP.
SEE ALSO
rtsched(2), rtprio(2), pthread_attr_setscope(3T), pthread_setschedparam(3T). Pthread Library pthread_yield(3T)
Related Man Pages
pthread_yield(3) - linux
pthread_yield(3) - debian
pthread_attr_setinheritsched(3) - centos
pthread_attr_setscope(3) - osf1
sched_yield(3) - osf1
Similar Topics in the Unix Linux Community
How to Find who is calling me?
AIX5L - finding the AIX logs for the lp scheduler
Theoretical Question
scheduler Script
Playing with the Linux Scheduler