1
0

noevent.c 413 B

12345678910111213141516171819202122232425
  1. #include "iowatcher.h"
  2. #ifdef EVENT_NOEVENT
  3. int iowatcher_init(hloop_t* loop) {
  4. return 0;
  5. }
  6. int iowatcher_cleanup(hloop_t* loop) {
  7. return 0;
  8. }
  9. int iowatcher_add_event(hloop_t* loop, int fd, int events) {
  10. return 0;
  11. }
  12. int iowatcher_del_event(hloop_t* loop, int fd, int events) {
  13. return 0;
  14. }
  15. int iowatcher_poll_events(hloop_t* loop, int timeout) {
  16. hv_delay(timeout);
  17. return 0;
  18. }
  19. #endif