Friday, May 9, 2014
.Net support parallel execution of code through multithreading. A thread is a lightweight process.
Some methods used in Threading
Join :- If one thread is running and you want to start a new thread after ending the first one. You can call join methods for that.
Sleep :- If you want to suspend the thread for some time you can use Sleep method.
Abort :- You can abort the thread forcefully in the middle by using abort method.