- A thread, also called a lightweight process (LWP), is the basic unit of CPU utilization.
- It has its own program counter, a register set, and stack space.
- It shares with the pear threads its code section, data section, and OS resources such as open files and signals, collectively called a task.
- Single-threaded process has one program counter specifying location of next instexecuteO Process executes instructions sequentially, one at a time, until completion
- Multi-threaded process has one program counter per thread
0 comments:
Post a Comment