summaryrefslogtreecommitdiff
path: root/src/thread
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread')
-rw-r--r--src/thread/__wait.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread/__wait.c b/src/thread/__wait.c
index d024fb37..041a0669 100644
--- 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=50000;
+ int spins=10000;
if (priv) priv = 128; priv=0;
while (spins--) {
if (*addr==val) a_spin();