2. Lightweight Process

Definition:

Threads are implemented by a library that utilizes underlying kernel-supported threads of control, called light-weight processes (LWPs).

Each LWP can be thought of as a virtual CPU which is available for executing code or system calls. Each LWP:

Note: Most programmers use threads without thinking about LWPs.

Figure 3.2. Solaris LWPs

Solaris LWPs