projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
make pthread_create return EAGAIN on resource failure, as required by POSIX
[oweals/musl.git]
/
src
/
misc
/
sched_yield.c
1
#include <sched.h>
2
#include "syscall.h"
3
#include "libc.h"
4
5
int __yield()
6
{
7
return syscall0(__NR_sched_yield);
8
}
9
10
weak_alias(__yield, sched_yield);