Oops,
In my pseudo code I meant:
static int ahc_echo(void * cls, struct MHD_Connection * connection ...
other params) {
if (isSomeFunctionOfMyAppResponding()) {
do something ...
} else {
create a new thread *without* blocking server and finally do something
...
}
}
MHD_start_daemon(*MHD_USE_SELECT_INTERNALLY* ...
^^'
On Thu, Dec 1, 2016 at 6:42 PM, silvioprog <[email protected]> wrote:
> Oops,
>
> On Thu, Dec 1, 2016 at 6:39 PM, silvioprog <[email protected]> wrote:
> [...]
>
>> . fastcgiapp1 rutting on port 9000; // primary
>> . fastcgiapp2 rutting on port 9001. // backup
>>
>
> "... running on port ..."
>
> Supposing this pseudo code:
>
>
> I meant "A pseudo mode:"
>
--
Silvio Clécio