diff options
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/select.cc | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index f68265562..a04d0b4c7 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -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> diff --git a/winsup/cygwin/select.cc b/winsup/cygwin/select.cc index 970e529f6..9443ef28a 100644 --- a/winsup/cygwin/select.cc +++ b/winsup/cygwin/select.cc @@ -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: |