.NET threading question
- by MusiGenesis
Is there any essential difference between this code:
ThreadStart starter = new ThreadStart(SomeMethod);
starter.Invoke();
and this?
ThreadStart starter = new ThreadStart(SomeMethod);
Thread th = new Thread(starter);
th.Start();
Or does the first invoke the method on the current thread while the second invokes it on a new thread?