March 30, 2008 Thread Sub-Classes | ||||
---|---|---|---|---|
| ||||
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 |
Copyright © 1999-2021 by the D Language Foundation