[Libwebsockets] [PATCH] Replace pipe with eventfd when available
andy at warmcat.com
Sun Feb 9 06:24:58 CET 2020
On 2/8/20 9:30 PM, Olivier Langlois wrote:
> From eventfd man page:
> Applications can use an eventfd file descriptor instead of a pipe (see
> pipe(2)) in all cases where a pipe is used simply to signal events.
> The kernel overhead of an eventfd file descriptor is much lower than
> that of a pipe, and only one file descriptor is required
> (versus the two required for a pipe).
Nice, thanks for the patches. Since neither of them change the abi I
pushed them both on master and v3.2-stable.
More information about the Libwebsockets