* select.cc (thread_pipe): Raise sleep time only every 8th iteration.
(thread_mailslot): Ditto.
This commit is contained in:
parent
27154d380a
commit
b4c53a7c00
@ -1,3 +1,8 @@
|
||||
2006-04-24 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* select.cc (thread_pipe): Raise sleep time only every 8th iteration.
|
||||
(thread_mailslot): Ditto.
|
||||
|
||||
2006-04-23 Corinna Vinschen <corinna@vinschen.de>
|
||||
Christopher Faylor <cgf@timesys.com>
|
||||
|
||||
|
@ -646,8 +646,8 @@ thread_pipe (void *arg)
|
||||
}
|
||||
if (gotone)
|
||||
break;
|
||||
Sleep (sleep_time >> 1);
|
||||
if (sleep_time < 20)
|
||||
Sleep (sleep_time >> 3);
|
||||
if (sleep_time < 80)
|
||||
++sleep_time;
|
||||
}
|
||||
out:
|
||||
@ -1661,8 +1661,8 @@ thread_mailslot (void *arg)
|
||||
}
|
||||
if (gotone)
|
||||
break;
|
||||
Sleep (sleep_time >> 1);
|
||||
if (sleep_time < 20)
|
||||
Sleep (sleep_time >> 3);
|
||||
if (sleep_time < 80)
|
||||
++sleep_time;
|
||||
}
|
||||
out:
|
||||
|
Loading…
Reference in New Issue
Block a user