[Libwebsockets] libev

Andy Green andy at warmcat.com
Fri Dec 5 00:21:05 CET 2014



On 5 December 2014 04:08:04 GMT+08:00, Roger Light <roger at atchoo.org> wrote:
>Hi,
>
>I'm interested in this area as well - except that I'd be looking at the
>best way to integrate with a libuv loop instead.
>
>If it was possible to have an interface that allowed lws to be used in
>event loops in general rather than specific implementations I'd be very
>happy to put some effort to making that happen.

Yes I think it has to be like that for the distro build case... I think what I suggested to Alejandro will work out well for what you want as well.

-Andy

>Cheers,
>
>Roger
>On Dec 4, 2014 4:50 PM, "Alejandro Mery" <andy.green at linaro.org> wrote:
>
>> Hi,
>>
>> I need to integrate a libwebsocket client connection into an existing
>> ev_loop, but from what I see it the libev integration is still very
>> incomplete and just hacked in. so I need to finish it.
>>
>> does it make sense to keep the polling hooks when using libev? maybe
>> implementing it as a separated plat instead of a ton of #ifdef-s? any
>> pointer on the preferred direction how I should approach it?
>>
>> Cheers,
>> Alejandro Mery
>> _______________________________________________
>> Libwebsockets mailing list
>> Libwebsockets at ml.libwebsockets.org
>> http://ml.libwebsockets.org/mailman/listinfo/libwebsockets
>>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Libwebsockets mailing list
>Libwebsockets at ml.libwebsockets.org
>http://ml.libwebsockets.org/mailman/listinfo/libwebsockets




More information about the Libwebsockets mailing list