libmicrohttpd
[Top][All Lists]
Advanced

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

Re: [libmicrohttpd] running in main thread


From: Christian Grothoff
Subject: Re: [libmicrohttpd] running in main thread
Date: Mon, 2 Dec 2019 22:31:46 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

On 12/2/19 10:18 PM, José Bollo wrote:
>> Well, that's trivial. Please consider the attached fragment (not
>> tested, but should be very close to what you need, modulo error
>> handling).
> I know it is trivial (my implementation below) but I advocate to offer
> a facility that does the job. It avoids tricky aspects like EPOLL and
> get_daemon_info (is working for windows???)

AFAIK on the Windows Subsystem for Linux it should work, and everything
else is a mess to do in a portable way. Regardless, these loops are
usually pretty simple, hence I do still think that they don't belong
into the library.  What we could do is at sample loops into the
documentation (tutorial?).

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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