RTEMS Logo

RTEMS 4.9.4 On-Line Library


Scheduler Manager sched_yield - Yield the Processor

PREV UP next Bookshelf RTEMS POSIX API User's Guide

13.4.4: sched_yield - Yield the Processor

CALLING SEQUENCE:

#include <sched.h>

int sched_yield( void );

STATUS CODES:

This routine always returns zero to indicate success.

DESCRIPTION:

This call forces the calling thread to yield the processor to another thread. Normally this is used to implement voluntary round-robin task scheduling.

NOTES:

NONE


PREV UP next Bookshelf RTEMS POSIX API User's Guide

Copyright © 1988-2008 OAR Corporation