man pages section 3: Basic Library Functions

Exit Print View

Updated: July 2014
 
 

thr_yield(3C)

Name

thr_yield - yield to another thread

Synopsis

cc –mt [ flag... ] file...[ library... ]
#include <thread.h> 

void thr_yield(void);

Description

The thr_yield() function causes the current thread to yield its execution in favor of another thread with the same or greater priority.

Return Values

The thr_yield() function returns nothing and does not set errno.

Attributes

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
MT-Level
MT-Safe

See Also

thr_setprio(3C), attributes(5), standards(5)