1thr_yield(3C)            Standard C Library Functions            thr_yield(3C)
2
3
4

NAME

6       thr_yield - yield to another thread
7

SYNOPSIS

9       cc -mt [ flag... ] file...[ library... ]
10       #include <thread.h>
11
12       void thr_yield(void);
13
14

DESCRIPTION

16       The  thr_yield() function causes the current thread to yield its execu‐
17       tion in favor of another thread with the same or greater priority.
18

RETURN VALUES

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

ATTRIBUTES

23       See attributes(5) for descriptions of the following attributes:
24
25
26
27
28       ┌─────────────────────────────┬─────────────────────────────┐
29       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
30       ├─────────────────────────────┼─────────────────────────────┤
31       │MT-Level                     │MT-Safe                      │
32       └─────────────────────────────┴─────────────────────────────┘
33

SEE ALSO

35       thr_setprio(3C), attributes(5), standards(5)
36
37
38
39SunOS 5.11                        12 May 1998                    thr_yield(3C)
Impressum