What is the difference between lightweight process and thread?

前端 未结 8 1411
醉话见心
醉话见心 2021-02-01 19:32

I found an answer to the question here. But I don\'t understand some ideas in the answer. For instance, lightweight process is said to share its logical address space with other

8条回答
  •  既然无缘
    2021-02-01 19:35

    From MSDN, Threads and Processes:

    Processes exist in the operating system and correspond to what users see as programs or applications. A thread, on the other hand, exists within a process. For this reason, threads are sometimes referred to as light-weight processes. Each process consists of one or more threads.

提交回复
热议问题