Hi Christian,
Thanks for your reply. I have few more doubts based on my understanding on the library. Please correct me if I am wrong.
1. Is it possible to have an external thread with desired attributes and use MHD without creating thread internally? Will it call the callbacks as desired? Will passing MHD_NO_FLAG to start_daemon helps this scenario? MHD_RUN() has something to do with this?
2. From your reply, what I understand is to call pthread_self() and related attribute set functions from MHD_AcessHandlerCallback. Is that correct?