2. A process is composed of one or more threads, thread is a different line of code in the process of
3. Between processes are independent of each other, but under the same process of sharing program memory space between each thread (including code, data sets, heap, etc.) and some process level of resources (e.g., open the file and letter
Number, etc.), a process of thread is not visible in other process;
4. Scheduling and switch: thread context switch context switch is much faster than the process
CodePudding user response:
Top, consider