Daily Archives: October 3, 2015


Differences Between Threads and Processes

Motivation The difference between threads and processes used to confused me. Why do we need threads since we already have processes to support concurrency? What’s the mechanism of the context switch between threads?(rather than processes) How is locks implemented? This article may be your answer. Acknowledgement: Some of the sentences […]