Start a new thread that executes the supplied function.
template< typename Function> thread( Function f);
This constructor creates a new thread that will execute the given function or function object.
The function or function object to be run in the thread. The function signature must be:
void f();