projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
work around "signal loses thread pointer" issue with "approach 2"
[musl]
/
src
/
thread
/
__futex.c
diff --git
a/src/thread/__futex.c
b/src/thread/__futex.c
index
93352fa
..
96307c0
100644
(file)
--- a/
src/thread/__futex.c
+++ b/
src/thread/__futex.c
@@
-3,6
+3,5
@@
int __futex(volatile int *addr, int op, int val, void *ts)
{
int __futex(volatile int *addr, int op, int val, void *ts)
{
- return syscall
4(__NR_futex, (long)addr, op, val, (long)
ts);
+ return syscall
(SYS_futex, addr, op, val,
ts);
}
}
-