mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-26 10:49:21 +00:00
FAST_TIMO is 2 ms not 2 usec. Noticed on Windows but this obviously can't
fix my problem with slirp_select_fill() there as it still doesn't fill in any socket descriptor. :-/ I think I won't bother much for Windows...
This commit is contained in:
parent
f56f28b813
commit
8ca74c4eac
@ -333,8 +333,8 @@ int slirp_select_fill(int *pnfds,
|
||||
* Adjust the timeout to make the minimum timeout
|
||||
* 2ms (XXX?) to lessen the CPU load
|
||||
*/
|
||||
if (timeout < FAST_TIMO)
|
||||
timeout = FAST_TIMO;
|
||||
if (timeout < (FAST_TIMO * 1000))
|
||||
timeout = FAST_TIMO * 1000;
|
||||
|
||||
return timeout;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user