Multi-threaded self-study notes

Thread : A program executes multiple tasks at the same time, each task is called a thread, which is short for thread control. A program that can run more than one thread at the same time is called a multithreaded program.
The difference between multiprocessing and multithreading : The essential difference is that each process has its own set of variables, while threads share data.

Explain the relationship between threads and processes
http://blog.csdn.net/yaosiming2011/article/details/44280797/

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326761173&siteId=291194637