select_pipe_info *pi = (select_pipe_info *) arg;
DWORD sleep_time = 0;
bool looping = true;
- DWORD t0 = GetTickCount ();
while (looping)
{
break;
cygwait (pi->bye, sleep_time >> 3);
if (sleep_time < 80)
- {
- DWORD t1 = GetTickCount ();
- if (t0 != t1)
- ++sleep_time;
- t0 = t1;
- }
+ ++sleep_time;
if (pi->stop_thread)
break;
}
select_fifo_info *pi = (select_fifo_info *) arg;
DWORD sleep_time = 0;
bool looping = true;
- DWORD t0 = GetTickCount ();
while (looping)
{
break;
cygwait (pi->bye, sleep_time >> 3);
if (sleep_time < 80)
- {
- DWORD t1 = GetTickCount ();
- if (t0 != t1)
- ++sleep_time;
- t0 = t1;
- }
+ ++sleep_time;
if (pi->stop_thread)
break;
}
select_console_info *ci = (select_console_info *) arg;
DWORD sleep_time = 0;
bool looping = true;
- DWORD t0 = GetTickCount ();
while (looping)
{
break;
cygwait (ci->bye, sleep_time >> 3);
if (sleep_time < 80)
- {
- DWORD t1 = GetTickCount ();
- if (t0 != t1)
- ++sleep_time;
- t0 = t1;
- }
+ ++sleep_time;
if (ci->stop_thread)
break;
}
select_pipe_info *pi = (select_pipe_info *) arg;
DWORD sleep_time = 0;
bool looping = true;
- DWORD t0 = GetTickCount ();
while (looping)
{
break;
cygwait (pi->bye, sleep_time >> 3);
if (sleep_time < 80)
- {
- DWORD t1 = GetTickCount ();
- if (t0 != t1)
- ++sleep_time;
- t0 = t1;
- }
+ ++sleep_time;
if (pi->stop_thread)
break;
}