initial commit

This commit is contained in:
2025-08-05 15:53:44 +08:00
commit 09dc02ae52
553 changed files with 137665 additions and 0 deletions

25
third_party/libhv/event/noevent.c vendored Executable file
View File

@@ -0,0 +1,25 @@
#include "iowatcher.h"
#ifdef EVENT_NOEVENT
int iowatcher_init(hloop_t* loop) {
return 0;
}
int iowatcher_cleanup(hloop_t* loop) {
return 0;
}
int iowatcher_add_event(hloop_t* loop, int fd, int events) {
return 0;
}
int iowatcher_del_event(hloop_t* loop, int fd, int events) {
return 0;
}
int iowatcher_poll_events(hloop_t* loop, int timeout) {
hv_delay(timeout);
return 0;
}
#endif