Menu

#197 rule: Constructor invokes Thread.start()

open
nobody
None
5
2013-02-16
2011-01-24
No

SC: Constructor invokes Thread.start() (SC_START_IN_CTOR)

The constructor starts a thread. This is likely to be wrong if the class is ever extended/subclassed, since the thread will be started before the subclass constructor is started.

Discussion


Log in to post a comment.