提交 055dfbb7 编写于 作者: R Rich Felker

remove unused __futex function and source file

the direct syscall or various thin and mostly-inline wrappers around
it are used instead internally. at some point a public futex function
should be added, but it's not yet clear what the signature should be,
and in the mean time this file is not useful.
上级 a60d579f
......@@ -16,6 +16,4 @@
#define FUTEX_CLOCK_REALTIME 256
int __futex(volatile int *, int, int, void *);
#endif
#include "futex.h"
#include "syscall.h"
int __futex(volatile int *addr, int op, int val, void *ts)
{
return syscall(SYS_futex, addr, op, val, ts);
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册