NAME

sched_yield - yield processor

SYNOPSIS

int sched_yield(void);

Callable from an ISR.

DESCRIPTION

sched_yield() forces the running process to relinquish the processor until the thread again becomes the head of its priority 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.

Home page (Kernel)


< Copyright Rowebots Research Inc. and Multiprocessor Toolsmiths Inc. 1987-2018 >