[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libmicrohttpd] Setting thread attributes

From: Christian Grothoff
Subject: Re: [libmicrohttpd] Setting thread attributes
Date: Sun, 28 Jun 2020 01:47:30 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0

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!


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. 

Attachment: 0x939E6BE1E29FC3CC.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]