projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
report that posix_spawn is supported in unistd.h and sysconf
[musl]
/
src
/
thread
/
__wait.c
diff --git
a/src/thread/__wait.c
b/src/thread/__wait.c
index
d024fb3
..
041a066
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)
{
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();
if (priv) priv = 128; priv=0;
while (spins--) {
if (*addr==val) a_spin();