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:

https://git.taler.net/exchange.git/tree/src/bank-lib/fakebank.c

The application's event loop here is easily identified as it is the
GNUNET_SCHEDULER*-API.

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