yield(2)

DESCRIPTION

Yield the current scheduling turn.

Gives another runnable thread an opportunity to run. The caller
remains runnable and may be selected again immediately.

SYNOPSIS

long yield(void);

RETURN VALUE

  • Returns zero.