A thread is nothing more than a process.
The process sets up sequential steps, each step executing a line of code.
A multithreaded application allows you to run several threads, each thread runs in its own process.
So that you can run step1 in one thread and step 2 in another thread at the same time.
Asked In: Many Interviews |