ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/ev_linuxaio.c
(Generate patch)

Comparing libev/ev_linuxaio.c (file contents):
Revision 1.25 by root, Tue Jun 25 04:52:30 2019 UTC vs.
Revision 1.26 by root, Tue Jun 25 05:10:44 2019 UTC

79 * g) all of this makes this backend use almost twice as much code as epoll. 79 * g) all of this makes this backend use almost twice as much code as epoll.
80 * which in turn uses twice as much code as poll. and thats not counting 80 * which in turn uses twice as much code as poll. and thats not counting
81 * the fact that this backend also depends on the epoll backend, making 81 * the fact that this backend also depends on the epoll backend, making
82 * it three times as much code as poll, or kqueue. 82 * it three times as much code as poll, or kqueue.
83 * h) bleah. why can't linux just do kqueue. sure kqueue is ugly, but by now 83 * h) bleah. why can't linux just do kqueue. sure kqueue is ugly, but by now
84 * it's clear that whwetaver linux does is far, far far worse. 84 * it's clear that whetaver linux comes up with is far, far, far worse.
85 */ 85 */
86 86
87#include <sys/time.h> /* actually linux/time.h, but we must assume they are compatible */ 87#include <sys/time.h> /* actually linux/time.h, but we must assume they are compatible */
88#include <poll.h> 88#include <poll.h>
89#include <linux/aio_abi.h> 89#include <linux/aio_abi.h>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines