1 #include <threads.h>
2 #include "syscall.h"
3 
thrd_yieldnull4 void thrd_yield()
5 {
6 #ifdef __LITEOS_A__
7 	__syscall(SYS_sched_yield, -1);
8 #else
9 	__syscall(SYS_sched_yield);
10 #endif
11 }
12