[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Base Operating System and Extensions Technical Reference, Volume 2

sched_yield Subroutine


Yield processor.


Standard Library (libc.a)


#include <sched.h>
int sched_yield (void) ;


The sched_yield function forces the running thread to relinquish the processor until it again becomes the head of its thread list. It takes no arguments.

Return Values

The sched_yield function returns 0 if it completes successfully, or it returns a value of -1 and sets errno to indicate the error.

Implementation Specifics

This subroutine is part of Base Operating System (BOS) subroutine.

Related Information

The sched.h file.

[ Previous | Next | Contents | Glossary | Home | Search ]