mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
Merge pull request #161 from mtatton/master
[ win64 ] change in select - sleep only when nothing to do
This commit is contained in:
commit
d674466f65
@ -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