mirror of /home/gitosis/repositories/libev.git
*** empty log message ***
This commit is contained in:
parent
6eb40f5297
commit
934b12dbac
|
@ -179,7 +179,7 @@ select_poll (EV_P_ ev_tstamp timeout)
|
|||
#ifdef _WIN32
|
||||
/* select on windows errornously returns EINVAL when no fd sets have been
|
||||
* provided (this is documented). what microsoft doesn't tell you that this bug
|
||||
* exists even when the fd sets are provided, so we have to check for this bug
|
||||
* exists even when the fd sets _are_ provided, so we have to check for this bug
|
||||
* here and emulate by sleeping manually.
|
||||
* we also get EINVAL when the timeout is invalid, but we ignore this case here
|
||||
* and assume that EINVAL always means: you have to wait manually.
|
||||
|
|
Loading…
Reference in New Issue