master
Emanuele Giaquinta 12 years ago
parent 5a39ecda8c
commit 33fd40b200
  1. 2
      ev.pod
  2. 2
      ev_epoll.c

@ -167,7 +167,7 @@ library in any way.
Returns the current time as libev would use it. Please note that the
C<ev_now> function is usually faster and also often returns the timestamp
you actually want to know. Also interetsing is the combination of
you actually want to know. Also interesting is the combination of
C<ev_update_now> and C<ev_now>.
=item ev_sleep (ev_tstamp interval)

@ -150,7 +150,7 @@ epoll_poll (EV_P_ ev_tstamp timeout)
| (ev->events & (EPOLLIN | EPOLLERR | EPOLLHUP) ? EV_READ : 0);
/* check for spurious notification */
/* we assume that fd is always in range, as we never shrink the anfds arraay */
/* we assume that fd is always in range, as we never shrink the anfds array */
if (expect_false ((uint32_t)anfds [fd].egen != (uint32_t)(ev->data.u64 >> 32)))
{
/* recreate kernel state */

Loading…
Cancel
Save