Understanding of multi-threaded concurrent, parallel, threads, processes
1: First understood concurrent, parallel
Concurrency: refers to two or more events occur at the same time period
Parallel: Refers to two or more events occur at the same time
2: Process-Thread
Process: refers to an application running in memory, each process has a separate memory space , an application can run multiple processes at the same time, the process is a program execution **, reflects the course of time ** ( task Manager is reflected in the process )
Thread: A thread is a unit of execution process, the current process is responsible for implementing the program, a process that at least one thread, but also can have multiple threads (computer butler can killing the virus at the same time, rubbish reflected thread)