mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[ win64 ] change in select - sleep only when nothing to do
This commit is contained in:
parent
29566c75c6
commit
5c74f80eb5
@ -686,8 +686,11 @@ int win32_select (int num_fds, struct fd_set *rd, struct fd_set *wr,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Lower CPU Usage WIN64 */
|
/* Lower CPU Usage WIN64 */
|
||||||
Sleep (1);
|
if (rc) {
|
||||||
if (rc) break;
|
break;
|
||||||
|
} else {
|
||||||
|
Sleep (1);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
rc = 0;
|
rc = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user