* fhandler_tty.cc (fhandler_tty_slave::read): Use previously
evaluated time_to_wait value.
This commit is contained in:
parent
72db1c11e9
commit
b9cd8fb5ff
@ -1,3 +1,8 @@
|
|||||||
|
2004-10-07 Mark Paulus <mark.paulus@mci.com>
|
||||||
|
|
||||||
|
* fhandler_tty.cc (fhandler_tty_slave::read): Use previously
|
||||||
|
evaluated time_to_wait value.
|
||||||
|
|
||||||
2004-10-05 Pierre Humblet <pierre.humblet@ieee.org>
|
2004-10-05 Pierre Humblet <pierre.humblet@ieee.org>
|
||||||
|
|
||||||
* external.cc (check_ntsec): Do not call wincap.has_security.
|
* external.cc (check_ntsec): Do not call wincap.has_security.
|
||||||
|
@ -765,7 +765,7 @@ fhandler_tty_slave::read (void *ptr, size_t& len)
|
|||||||
w4[0] = signal_arrived;
|
w4[0] = signal_arrived;
|
||||||
w4[1] = input_available_event;
|
w4[1] = input_available_event;
|
||||||
|
|
||||||
DWORD waiter = !ptr ? 0 : INFINITE;
|
DWORD waiter = time_to_wait;
|
||||||
while (len)
|
while (len)
|
||||||
{
|
{
|
||||||
rc = WaitForMultipleObjects (2, w4, FALSE, waiter);
|
rc = WaitForMultipleObjects (2, w4, FALSE, waiter);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user