Processes, threads of this blog, so you can remember clearly a silly

1 and start the process of destruction (and release space to start)

As long as the one that started a process, then you know one thing, it is a piece of space on this program was finished.

As long as the one that destroyed the process, you also know a thing about the space program released.

2 threads start and destruction (the process where a piece of code to run up, end of the process where a piece of code to run)

What is the difference six threads and processes are?
Thread == 'refers to a single code execution

Process == "application process and the destruction of resources

ps: Can open but under the same process multiple threads? Can I open a shop just as a number of lines, the answer is yes.

Thread vs Process
1, shared memory or isolation

A plurality of process memory space from each other.

Multiple threads in the same process to share data in the process.

2, create speed

Made thread speed, much faster than making process.

Guess you like

Origin www.cnblogs.com/ludundun/p/11531156.html
Recommended