Difference between job, task, process, thread

I know it by looking at the basics of the operating system . I casually flipped through it before to see if I don’t remember it clearly. I
know what it means.

Job: first appeared in the batch system, it refers to the basic unit of a work submitted by the user to the system, and is the sum of the work that the user requires the computer to do
in a transaction or calculation process.

A task, simply put, is a piece of work that the user asks the computer to do, and sometimes a process is also called a task.
This is in terms of multi-channel systems.

A process is a dynamic execution of a program, an image of the program code in the memory, and a dynamic operation process of the program code on the
data structure !

Thread, in fact, when it comes to the smallest execution unit of a program, it should be a thread. A thread is the
smallest unit that independently occupies a CPU unit. Each thread shares the data of the process. When each process is created, there is only one main thread.

Guess you like

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