提交 adbf0258 编写于 作者: R Rich Felker

remove useless __yield alias for sched_yield

this is no longer used for anything, and reportedly clashed with a
builtin on certain compilers.
上级 e783efa6
#include <sched.h>
#include "syscall.h"
#include "libc.h"
int __yield()
int sched_yield()
{
return syscall(SYS_sched_yield);
}
weak_alias(__yield, sched_yield);
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册