libmicrohttpd
[Top][All Lists]
Advanced

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

Re: [libmicrohttpd] Thread modes and event looks & MHD_USE_THREAD_PER_CO


From: Christian Grothoff
Subject: Re: [libmicrohttpd] Thread modes and event looks & MHD_USE_THREAD_PER_CONNECTION
Date: Mon, 31 Aug 2015 09:08:06 +0200
User-agent: 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.

Attachment: 0xE29FC3CC.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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