Introduction to Threads and Concurrency.

A thread is simply a sequence of programmed instructions that can be executed independently in CPU. A single process of a program can have several threads, these threads are executed parallelly at the same time within the same process. There are two type of processes based on the number of threads. Single-threaded processes. :- Only…… Continue reading Introduction to Threads and Concurrency.