Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You invoke the thread constructor but don't assign the thread to any variable. Therefore it immediately goes out of scope and doesn't have a chance to start running.