projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix type error in pthread_create, introduced with pthread_getattr_np
[oweals/musl.git]
/
src
/
thread
/
__wait.c
diff --git
a/src/thread/__wait.c
b/src/thread/__wait.c
index d024fb374b5ed655a674de67e4fe23827f4a6694..041a0669a0587644e4f8347d8d8a76866b8a9672 100644
(file)
--- a/
src/thread/__wait.c
+++ b/
src/thread/__wait.c
@@
-2,7
+2,7
@@
void __wait(volatile int *addr, volatile int *waiters, int val, int priv)
{
- int spins=
5
0000;
+ int spins=
1
0000;
if (priv) priv = 128; priv=0;
while (spins--) {
if (*addr==val) a_spin();