Setting native OS thread name (eg, via prctl)

Arun Chandrasekaran via Digitalmars-d-learn digitalmars-d-learn at
Tue Dec 22 08:30:41 PST 2015

On Tuesday, 22 December 2015 at 16:08:01 UTC, Dejan Lekic wrote:
> Arun, isn't that what the 'name' property is there for?

Hi Dejan,

Thanks for a quick reply.

Setting the name property is not reflecting in the OS level. May 
be it is just used only at the object level?

After setting the thread name, I would like to see the it 
reflect, for instance, in the output of `top` command. You can 
press H in top to toggle threads and see their names there.


More information about the Digitalmars-d-learn mailing list