wepoll.c

Branch


Log

Author Commit Date CI Message
Cœur eec47a67 2024-04-30T15:59:58 Fix typos (#1634)
tgolang 9c8860ec 2024-03-11T15:50:43 chore: remove repetitive words Signed-off-by: tgolang <seekseat@aliyun.com>
Michael Davidsaver a14ff912 2023-07-25T10:52:10 move _WIN32_WINNT defintions before first #include _WIN32_WINNT and WIN32_LEAN_AND_MEAN need to be defined before the windows.h is included for the first time. Avoid the confusion of indirect #include by defining before any.
Alex b0194392 2023-06-08T23:25:22 wepoll: replace default malloc/free with libevent mm_ variants (#1472) This replaces malloc and free in wepoll.c with mm_malloc and mm_free. I'm using event-internal.h instead of mm-internal.h. Using only mm-internal.h in wepoll.c can cause errors regarding the export symbol macros.
fanquake 45c3fc29 2020-06-22T19:40:06 wepoll: use lower-cased windows headers This matches their use throughout the rest of the project, and fixes the build when you are cross-compiling on Linux using mingw-w64. i.e: CC epoll.lo CC wepoll.lo CC signal.lo wepoll.c:138:10: fatal error: WS2tcpip.h: No such file or directory #include <WS2tcpip.h> ^~~~~~~~~~~~ compilation terminated. make[2]: *** [Makefile:1918: wepoll.lo] Error 1
Nick Grifka 83ef3216 2020-04-22T19:44:45 Add wepoll support to light up the epoll backend on Windows libevent is lacking a scalable backend on Windows. Let's leverage the wepoll library until Windows comes up with an epoll/kqueue compete user mode API. - All regress tests pass for standard wepoll - These 2 tests fail intermittently for changelist wepoll, so disabling changelist wepoll for now http/cancel_inactive_server http/stream_in - verify target on Windows runs tests for both wepoll and win32 backends - wepoll backend preferred over win32 backend - wepoll version 1.5.6 v2: cleaner backend abstraction. Disallow wepoll on MinGW/Cygwin. v3: Add wepoll.h to dist v4: Make sure wepoll source files are excluded from cygwin/mingw builds v5: Keep win32 as default backend on windows. v6: Include wepoll in mingw builds. Verified that regress tests pass w/ WEPOLL backend. v7: Enable wepoll on mingw when building with cmake v8: Add wepoll testrunner for autotools test target