What is the difference between lightweight process and thread?

前端 未结 8 1324
醉话见心
醉话见心 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:48

    IMO, LWP is a kernel thread binding which can be created and executed in the user context.

    If I'm not mistaken, you can attach user threads to a single LWP to potentially increase the level of concurrency without involving a system call.

提交回复
热议问题