aboutsummaryrefslogtreecommitdiff
path: root/src/misc/sched_yield.c
blob: 8a68519e4720ae48fbff634113913b85f30525c9 (plain)
1
2
3
4
5
6
7
8
9
10
#include <sched.h>
#include "syscall.h"
#include "libc.h"

int __yield()
{
	return syscall0(__NR_sched_yield);
}

weak_alias(__yield, sched_yield);