… | |
… | |
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> |