[Libwebsockets] About eventfd in libwebsockets

Felix Zhang guojunzhang1981 at gmail.com
Thu Jul 30 00:50:43 CEST 2020


That's great, thanks!

-Felix

On Wed, Jul 29, 2020 at 12:38 PM Andy Green <andy at warmcat.com> wrote:

>
>
> On 7/29/20 8:02 PM, Felix Zhang wrote:
> > Hi Andy,
> >
> > I hope you are doing great.
> > I'm recently compiling libwebsockets v4, I got a compile issue
> > when build with uClibc-0.9.33.2.
> > which has an eventfd API but no eventfd_read and eventfd_write.
> > in CMakeLists.txt, we use eventfd to determine LWS_HAVE_EVENTFD macro,
> >
> https://libwebsockets.org/git/libwebsockets/tree/CMakeLists.txt?h=v4.0-stable#n914
> >
> >
> > and we use eventfd_read under the LWS_HAVE_EVENTFD macro
> >
> https://libwebsockets.org/git/libwebsockets/tree/lib/roles/pipe/ops-pipe.c?h=v4.0-stable#n33
> >
> > Just let you know about this case.
> > I'm currently using eventfd_read to determine LWS_HAVE_EVENTFD macro.
>
> I see, thanks ... I pushed a patch doing the same on v4.0-stable and
> added the equivalent on master I'll push tomorrow.
>
> -Andy
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://libwebsockets.org/pipermail/libwebsockets/attachments/20200729/c71bc6ce/attachment.htm>


More information about the Libwebsockets mailing list