[libmicrohttpd] Race condition

2015-06-27 Thread Markus Doppelbauer
Hello, I think there is a race condition and I have no clue how to fix it: Main-Thread calls "MHD_quiesce_daemon()" Main-Thread sleeps until last connection is closed Poll-Thread wakes up the Main-Thread from "MHD_OPTION_NOTIFY_CONNECTION" because of "MHD_CONNECTION_NOTIFY_CLOSED" Main-Thread

Re: [libmicrohttpd] Race condition

2015-06-27 Thread Christian Grothoff
Hi! Interesting, SVN 36014 should fix this. Happy hacking! Christian On 06/27/2015 07:25 PM, Markus Doppelbauer wrote: > Hello, > > I think there is a race condition and I have no clue how to fix it: > > Main-Thread calls "MHD_quiesce_daemon()" > Main-Thread sleeps until last connection is cl