| 12345678910111213141516171819202122232425 |
- #include "io_watcher.h"
- #ifdef EVENT_NOEVENT
- #include "htime.h"
- int iowatcher_init(hloop_t* loop) {
- return 0;
- }
- int iowatcher_cleanup(hloop_t* loop) {
- return 0;
- }
- int iowatcher_add_event(hio_t* fd, int events) {
- return 0;
- }
- int iowatcher_del_event(hio_t* fd, int events) {
- return 0;
- }
- int iowatcher_poll_events(hloop_t* loop, int timeout) {
- msleep(timeout);
- return 0;
- }
- #endif
|