GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
SCHED_YIELD(2) FreeBSD System Calls Manual SCHED_YIELD(2)

sched_yield
yield processor

Standard C Library (libc, -lc)

#include <sched.h>

int
sched_yield(void);

The sched_yield() system call forces the running process to relinquish the processor until it again becomes the head of its process list. It takes no arguments.

The sched_yield() function returns the value 0 if successful; otherwise the value -1 is returned and the global variable errno is set to indicate the error.

On failure errno will be set to the corresponding value:
[]
The system is not configured to support this functionality.

The sched_yield() system call conforms to IEEE Std 1003.1b-1993 (“POSIX.1b”).
March 12, 1998 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 2 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.