www.digitalmars.com         C & C++   DMDScript  

D - 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.
Sep 23 2003