Re: [转载] 什么是LWP呢?Re: 如何在Linux/Unix下获取微秒级的进程时间?# Unix - 噫吁兮,危乎高哉
P*y
1 楼
LightWeight Process (LWP) is thread. A thread is owned by one process, while
the same process can own several different threads at the same time. Threads
share all the resources the process owns. Traditional process has only one
single thread (Indeed it has no concept of thread). Later Unix has the concept
of thread, especially in Solaris.
Process represents the resource ownership relation at OS level as a whole.
Thread represnts the manipulation of resources at the process level.
the same process can own several different threads at the same time. Threads
share all the resources the process owns. Traditional process has only one
single thread (Indeed it has no concept of thread). Later Unix has the concept
of thread, especially in Solaris.
Process represents the resource ownership relation at OS level as a whole.
Thread represnts the manipulation of resources at the process level.