[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [libmicrohttpd] Thread modes and event looks & MHD_USE_THREAD_PER_CO
Re: [libmicrohttpd] Thread modes and event looks & MHD_USE_THREAD_PER_CONNECTION
Mon, 31 Aug 2015 09:08:06 +0200
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0
On 08/31/2015 02:59 AM, Allan Wind wrote:
> Thanks Christian. Would you mind addressing the 2nd part of my
> question, namely:
> I understand from the archives, that external the thread mode,
> means you have to use select in your own event loop. Is this
> still the case?
Yes, the basic idea of 'external' is that you run your own event loop.
Currently, the API _only_ gives you an fd_set. While you could manually
convert that to an epoll/poll() system call that would not be, eh, natural.
Description: OpenPGP digital signature