Browse Source

*** empty log message ***

master
Marc Alexander Lehmann 13 years ago
parent
commit
934b12dbac
  1. 2
      ev_select.c

2
ev_select.c

@ -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…
Cancel
Save