summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/stdio/__lockfile.c2
-rw-r--r--src/thread/__wait.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/stdio/__lockfile.c b/src/stdio/__lockfile.c
index 4e0239e7..66a4d26d 100644
--- a/src/stdio/__lockfile.c
+++ b/src/stdio/__lockfile.c
@@ -3,7 +3,7 @@
void __lockfile(FILE *f)
{
- int spins=100000;
+ int spins=10000;
int tid;
if (f->lock < 0) return;
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();