What is the difference between a thread/process/task?

后端 未结 7 2112
离开以前
离开以前 2021-01-29 20:04

What is the difference between a thread/process/task?

7条回答
  •  一向
    一向 (楼主)
    2021-01-29 20:34

    At the minimum, a process or task needs the following:

    Shared among member Threads

    1.The code or firmware, the instructions These are in the memory and have addresses 2.The data that the code is manipulating The data starts in the memory and may be moved to registers. The data has addresses

    Proprietary to each Thread

    3.CPU and associated physical registers 4.A stack 5.Status information Processes (tasks) vs. Threads

提交回复
热议问题