Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ thr_yield(3T) — SunOS 5.5

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sched_yield(3R)

thr_setprio(3T)

thr_yield(3T)

NAME

thr_yield − thread yield to another thread

SYNOPSIS

cc [ flag ... ] file ... −lthread [ library ... ]

#include <thread.h>
void thr_yield(void);

MT-LEVEL

MT-Safe

DESCRIPTION

thr_yield() causes the current thread to yield its execution in favor of another thread with the same or greater priority. 

RETURN VALUES

thr_yield() returns nothing and does not set errno. 

SEE ALSO

sched_yield(3R), thr_setprio(3T)

NOTES

Although there is no POSIX "pthreads" counterpart to thr_yield(), the POSIX real-time function, sched_yield(3R) does correspond to thr_yield(); thereby affording the POSIX portability to this functionality. 

SunOS 5.5  —  Last change: 29 Apr 1994

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026