… | … | ||
---|---|---|---|
495 | { | 495 | { |
496 | ev_feed_event (EV_A_ static_cast<const ev_watcher *>(this), revents); | 496 | ev_feed_event (EV_A_ static_cast<const ev_watcher *>(this), revents); |
497 | } | 497 | } |
498 | }; | 498 | }; |
499 | 499 | ||
500 | inline tstamp now () | ||
501 | { | ||
502 | return ev_time (); | ||
503 | } | ||
504 | |||
500 | inline void delay (tstamp interval) | 505 | inline void delay (tstamp interval) |
501 | { | 506 | { |
502 | ev_sleep (interval); | 507 | ev_sleep (interval); |
503 | } | 508 | } |
504 | 509 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |