[Top][All Lists]

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

Re: [libmicrohttpd] Question on Async support

From: Christian Grothoff
Subject: Re: [libmicrohttpd] Question on Async support
Date: Thu, 23 Aug 2018 20:44:30 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

On 08/23/2018 08:36 PM, Santos Das wrote:
> Hi,
> Thank you for the quick reply. I have one more question, please help in
> clarifying -
> Can "libmicrohttpd" run as a part of the application event loop or is it
> *_mandatory _*for the  "libmicrohttpd"  to have its own event loop?

It can run as part of the application's event loop.

You can find a simple example here:

The application's event loop here is easily identified as it is the

The code shows integration both with the select() and epoll()-based
versions of MHD.

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

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