Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sched_yield(3R) — SunOS 5.6

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

attributes(5)

sched_yield(3R)

NAME

sched_yield − yield processor

SYNOPSIS

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

#include <sched.h>

int sched_yield(void);

DESCRIPTION

sched_yield() forces the running process to relinquish the processor until the process again becomes the head of its process list. 

RETURN VALUES

If successful, sched_yield() returns 0, otherwise, it returns −1, and sets errno to indicate the error condition. 

ERRORS

ENOSYS sched_yield() is not supported by this implementation. 

ATTRIBUTES

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

ATTRIBUTE TYPE ATTRIBUTE VALUE
MT-Level MT-Safe

SEE ALSO

attributes(5)

SunOS 5.6  —  Last change: 30 Dec 1996

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