[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:
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.
signature.asc
Description: OpenPGP digital signature
- Re: [libmicrohttpd] Question on Async support, (continued)
- Re: [libmicrohttpd] Question on Async support, Christian Grothoff, 2018/08/23
- Re: [libmicrohttpd] Question on Async support, silvioprog, 2018/08/23
- Re: [libmicrohttpd] Question on Async support, Santos Das, 2018/08/24
- Re: [libmicrohttpd] Question on Async support, Christian Grothoff, 2018/08/24
- Re: [libmicrohttpd] Question on Async support, Santos Das, 2018/08/24
- Re: [libmicrohttpd] Question on Async support, Christian Grothoff, 2018/08/24
- Re: [libmicrohttpd] Question on Async support, Santos Das, 2018/08/24
- Re: [libmicrohttpd] Question on Async support, Santos Das, 2018/08/24
- Re: [libmicrohttpd] Question on Async support, Santos Das, 2018/08/27
- Re: [libmicrohttpd] Question on Async support, Santos Das, 2018/08/28
- Re: [libmicrohttpd] Question on Async support,
Christian Grothoff <=