Operating System Basics

one,

1. What is a process? What is a thread? What is the difference between process and thread?

Open the Windows operating system "Task Manager", you can see many background processes.

A process is the unit in which a program runs in an operating system.

A process is an independent unit of allocation and scheduling of operating system resources, while a thread is the basic unit of CPU scheduling

An application has at least one process, and a process has at least one thread.

 

 

Reference blog:

https://blog.csdn.net/zhou753099943/article/details/51771220

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324820220&siteId=291194637