www.digitalmars.com         C & C++   DMDScript  

D - Thread names

reply "Matthew Wilson" <dmd synesis.com.au> writes:
Anyone think that having Thread contain - and specifically the point print()
and toString() methods represent - a thread "name"?

I'm not sure how this would be exactly, but it would be a nice debugging
helper. Naturally one would still be able to create one without a name.
Apr 21 2003
parent reply "Sean L. Palmer" <palmer.sean verizon.net> writes:
Sounds like an excellent idea.  Too bad it won't show up in the debugger
because the OS won't know about the thread name.

Sean

"Matthew Wilson" <dmd synesis.com.au> wrote in message
news:b808h7$20nh$1 digitaldaemon.com...
 Anyone think that having Thread contain - and specifically the point

 and toString() methods represent - a thread "name"?

 I'm not sure how this would be exactly, but it would be a nice debugging
 helper. Naturally one would still be able to create one without a name.

Apr 21 2003
parent "Daniel Yokomiso" <daniel_yokomiso yahoo.com.br> writes:
Perhaps we could initialize a table with the thread ids and names, and the
debugger could inspect it somehow.

"Sean L. Palmer" <palmer.sean verizon.net> escreveu na mensagem
news:b818sc$2lsc$1 digitaldaemon.com...
 Sounds like an excellent idea.  Too bad it won't show up in the debugger
 because the OS won't know about the thread name.

 Sean

 "Matthew Wilson" <dmd synesis.com.au> wrote in message
 news:b808h7$20nh$1 digitaldaemon.com...
 Anyone think that having Thread contain - and specifically the point

 and toString() methods represent - a thread "name"?

 I'm not sure how this would be exactly, but it would be a nice debugging
 helper. Naturally one would still be able to create one without a name.


--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.474 / Virus Database: 272 - Release Date: 18/4/2003
Apr 21 2003