libmicrohttpd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libmicrohttpd] [GSoC Update] Week 2


From: Evgeny Grin
Subject: Re: [libmicrohttpd] [GSoC Update] Week 2
Date: Wed, 14 Jun 2017 12:33:50 +0300
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

On 13.06.2017 19:37, Darshit Shah wrote:
>>
>> Things which would be done in the coming week:
>>
>> * Finished on wget_test_start_server() in order to call Libmicrohttpd as
>>   service for wget_test(). Problems and questions need to be resolved:
>>   - Decide what the best threading model for Libmicrohttpd. Currently
>> using
>>     MHD_USE_INTERNALLY_POLLING_THREAD which use external select. I
>> still check
>>     the comparison with legacy code that use Wget2 API wget_thread_start.
> Choose any mechanism that uses select(). We can change the threading
> model at a later stage if it turns out to be a bottleneck. `epoll` is
> Linux-only and even `poll` isn't always available, so as long as you
> choose a `select` based implementation, it should be fine for now.

You can use MHD_is_feature_supported() with MHD_FEATURE_POLL and
MHD_FEATURE_EPOLL to check for supported polling functions.
Alternatively, with latest versions of MHD you can use MHD_USE_AUTO and
MHD will choose select(), poll() or epoll-based polling automatically.

-- 
Wishes,
Evgeny

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]