mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-06-28 11:55:08 +03:00
Merge 405fcdbef0
into 1e17c9bcfd
This commit is contained in:
commit
782afe14bc
@ -9251,7 +9251,7 @@ void UnixSelectInner(UINT num_read, UINT *reads, UINT num_write, UINT *writes, U
|
|||||||
kevent_timeout.tv_nsec = (timeout % 1000) * 1000000l;
|
kevent_timeout.tv_nsec = (timeout % 1000) * 1000000l;
|
||||||
p_kevent_timeout = &kevent_timeout;
|
p_kevent_timeout = &kevent_timeout;
|
||||||
}
|
}
|
||||||
kevent(kq, kevents, n, kevents, n, p_kevent_timeout);
|
kevent(kq, NULL, 0, kevents, n, p_kevent_timeout);
|
||||||
#else // UNIX_MACOS
|
#else // UNIX_MACOS
|
||||||
poll(p, num, timeout == INFINITE ? -1 : (int)timeout);
|
poll(p, num, timeout == INFINITE ? -1 : (int)timeout);
|
||||||
#endif // UNIX_MACOS
|
#endif // UNIX_MACOS
|
||||||
|
Loading…
Reference in New Issue
Block a user