March 30, 2008
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