Andy Pan

Results 26 issues of Andy Pan

Register the eventfd with EPOLLET to enable edge-triggered notification where we're able to eliminate the overhead of reading the eventfd via system call on each wakeup event. When the eventfd...

Eliminate the kernel overhead of `pipe` if we can.

The array used by the changelist of the kevent() can be reused by the eventlist, We should make use of this feature to eliminate the extra overhead of array allocation....

New compiler errors to be fixed: `[-Wincompatible-pointer-types]`, `[-Wint-conversion]`, and `[-Wcast-function-type]` --- The [CI failure for -Wincompatible-pointer-types](https://github.com/libevent/libevent/pull/1652#issuecomment-2118836052) may have something to do with this [GCC patch](https://gcc.gnu.org/pipermail/gcc-cvs/2023-December/394351.html). See also this https://github.com/llvm/llvm-project/issues/74605. Thus,...

We learned it the [hard way in Go](https://github.com/golang/go/blob/7fcd4a7007979e4aaa9e8893bd0088f5f28627e7/src/os/file_unix.go#L175-L208), and I hope Node.js, Julia or anything else built on top of `libuv` don't have to go through what Go has been...

### Proposed changes DragonFly BSD has changed the time unit for TCP keep-alive from milliseconds to seconds since 5.7 development patch 2, thus setting the keepalive options in milliseconds on...