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)NAMEpthread_yield() - notify the scheduler that the current thread is willing to relinquish the use of its processorSYNOPSISPARAMETERSNone.DESCRIPTIONThe 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 VALUEUpon successful completion, returns zero.ERRORSNone.AUTHORwas developed by HP.SEE ALSOrtsched(2), rtprio(2), pthread_attr_setscope(3T), pthread_setschedparam(3T). Pthread Library pthread_yield(3T)