You can theoretically call pthread_self() once MHD calls the application callback inside of a thread. There is currently no way to change attributes for threads during thread creation.
Happy hacking! Christian On 6/27/20 9:12 PM, Anaswara Nair wrote: > Hi, > > I am using libmicrohttpd for the first time. I wonder if it is possible > to set attributes such as priority, affinity, scheduling policy, etc to > the thread created by start_daemon. While exploring I found > MHD_create_thread_(). But doubtful if it can be used directly from my > application.
0x939E6BE1E29FC3CC.asc
Description: application/pgp-keys
signature.asc
Description: OpenPGP digital signature