|
From: | Evgeny Grin |
Subject: | Re: [libmicrohttpd] running in main thread |
Date: | Wed, 04 Dec 2019 14:51:46 +0300 |
On 12/2/19 10:18 PM, José Bollo wrote:
Well, that's trivial. Please consider the attached fragment (notI know it is trivial (my implementation below) but I advocate to offer
tested, but should be very close to what you need, modulo error
handling).
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?).
[Prev in Thread] | Current Thread | [Next in Thread] |