digitalmars.D.learn - Thread Sub-Classes
- Brian White (13/13) Mar 30 2008 If I inherit from Thread to create a new sub-class, how can I make the
 
If I inherit from Thread to create a new sub-class, how can I make the
main thread be of that type?
class MyThread : Thread
{
   [...]
}
void main(char[][] argv)
{
   MyThread mine = Thread.getThis();
   [...]
}
Thanks!
-- Brian
 Mar 30 2008








 
 
 
 Brian White <bcwhite pobox.com>