osYieldThread.3p 703 Bytes
.TH osYieldThread 3P local "Silicon Graphics, Inc."
.SH NAME
.upperok
osYieldThread \- yield CPU and invoke thread dispatcher
.SH SYNOPSIS
.nf
\f3
.Op c
#include <ultra64.h>
.sp .8v
void osYieldThread(void);
.Op
\f1
.fi
.SH DESCRIPTION
The
.I osYieldThread
call inserts the calling thread back into the run queue following all other
threads of the same priority.
Then the dispatcher is invoked to run the (possible different) thread
at the front of the run queue.
If the calling thread is the only thread at its priority level then this
call effectively does nothing.
.SH "SEE ALSO"
.IR osCreateThread (3P),
.IR osGetThreadId (3P),
.IR osGetThreadPri (3P),
.IR osStartThread (3P),
.IR osStopThread (3P)