September 23, 2003 Thread's constructors | ||||
---|---|---|---|---|
| ||||
Is it me or is Thread's constructor specification seem off? I think this() should be: Constructor used by classes derived from Thread that override main() _or override run()_. Also, I think "override main()" means the main program entry point function, but that doesn't explain it well enough. It sounds like the class has a main() member function. The other two constructors have a function or delegate parameter but they wouldn't get called if run() was overridden... opposite of the spec. |
Copyright © 1999-2021 by the D Language Foundation