Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sched_yield(3R)

thr_setprio(3T)

attributes(5)

standards(5)

thr_yield(3T)

NAME

thr_yield − thread yield to another thread

SYNOPSIS

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

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

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. 

ATTRIBUTES

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
MT-Level MT-Safe

SEE ALSO

sched_yield(3R), thr_setprio(3T), attributes(5), standards(5)

NOTES

There is a POSIX real-time function, sched_yield(3R), that provides the same functionality as thr_yield().  For Solaris, sched_yield(3R) does nothing more than return an error message indicating that the system call is not supported. 

SunOS 5.6  —  Last change: 8 May 1997

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