mirror of
https://github.com/rkd77/elinks.git
synced 2025-06-30 22:19:29 -04: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 */
|
||||
Sleep (1);
|
||||
if (rc) break;
|
||||
if (rc) {
|
||||
break;
|
||||
} else {
|
||||
Sleep (1);
|
||||
}
|
||||
}
|
||||
|
||||
rc = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user