musl/src/sched/sched_yield.c
Rich Felker adbf0258be remove useless __yield alias for sched_yield
this is no longer used for anything, and reportedly clashed with a
builtin on certain compilers.
2014-05-04 13:15:27 -04:00

8 lines
97 B
C

#include <sched.h>
#include "syscall.h"
int sched_yield()
{
return syscall(SYS_sched_yield);
}