PatchworkOS
Loading...
Searching...
No Matches
thrd_yield.c
Go to the documentation of this file.
1
#include <
stdatomic.h
>
2
#include <
stdbool.h
>
3
#include <
stdio.h
>
4
#include <
sys/proc.h
>
5
#include <
threads.h
>
6
7
#include "
user/common/syscalls.h
"
8
#include "
user/common/thread.h
"
9
10
void
thrd_yield
(
void
)
11
{
12
_syscall_yield
();
13
}
proc.h
syscalls.h
_syscall_yield
static void _syscall_yield(void)
Definition
syscalls.h:218
thread.h
stdatomic.h
stdbool.h
stdio.h
thrd_yield
void thrd_yield(void)
Definition
thrd_yield.c:10
threads.h
src
libstd
user
functions
thread
thrd_yield.c
Generated by
1.9.8