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 threa
Arun, isn't that what the 'name' property is there for?
I have this trivial code where the main thread clones a child
thread.
import std.stdio;
import core.thread;
import std.concurrency;
class DerivedThread : Thread
{
this()
{
super(&run);
}
void quit()
{
_quit = true;
}
private:
void setOSThreadName()