thr_yield(3scl)thr_yield(3scl)NAMEthr_yield - Tells the scheduler that this thread is willing to yield
the processor.
LIBRARY
SCL Threads Library (libthread.so)
SYNOPSIS
#include <thread.h>
void thr_yield( void );
PARAMETERS
None.
DESCRIPTION
This routine tells the scheduler that this thread is willing to yield
the processor to other threads. If no other threads are ready to exe‐
cute, then this thread continues its execution.
SCL IMPLEMENTATION NOTESthr_yield(3scl) is implemented by calling sched_yield(3).
RETURN VALUES
None.
ERRORS
None.
RELATED INFORMATION
Functions: sched_yield(3), scl_intro(3scl), scl_thread_intro(3scl)
Manuals: Solaris Compatibility Libraries User's Guide
thr_yield(3scl)