This method spawns the new thread and invokes the receiver's method on the main new thread. If you initialized the receiver with a target and selector, the default main method is invokes that selector automatically.
If This thread was the first thread detached in the application, this method posts the nswillbecomemultithreadednotific ation with object nil to the default notification center.
Spawn: Egg, child, production;
/**
* A {@code Thread} is a concurrent unit of execution. It has a own call stack
* For methods being invoked, their arguments and local variables. Each application
* have at least one thread running when it was started, the main thread, in the main
* {@link Threa DGroup}. The runtime keeps its own threads in the system thread
* group.
*
* <p>there is both ways to execute cod E in a new thread.
* can either subclass {@code Thread} and overriding its {@link #run ()} method,
* or construct a new {@code Th Read} and pass a {@link Runnable} to the constructor.
* In either case, the {@link #start ()} method must is called to actually execute
* The new {@code Thread}.
*< br> * <p>each {@code thread} has a integer priority this affect how the Thread was
* scheduled by the OS. A new thread inherits the priority of its parent.
* A thread ' s priority can is set using the {@link #setPriority (int)} method.
*/
Nsthread-(void) Start vs Java Thread implements Runnable