From 6b3158f4059fdbd207d33e229eca8aa00b1a52a0 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 13 Mar 2016 15:57:44 -0300 Subject: [PATCH] test --- iguana/iguana777.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/iguana/iguana777.c b/iguana/iguana777.c index 0bac07235..e0b2e851a 100755 --- a/iguana/iguana777.c +++ b/iguana/iguana777.c @@ -366,7 +366,7 @@ void iguana_helper(void *arg) myfree(ptr,ptr->allocsize); flag++; } - else if ( idle++ > 100 ) + else if ( idle++ > 10 ) { if ( (ptr= queue_dequeue(&validateQ,0)) != 0 ) { @@ -378,7 +378,8 @@ void iguana_helper(void *arg) } } if ( flag == 0 ) - usleep(10000); + usleep(100000); + else usleep(1000); } }