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

int __yield()
{
	return syscall(SYS_sched_yield);
}

weak_alias(__yield, sched_yield);