Thread: A thread, also called a lightweight process (LWP). A thread is a stream of execution throughout the process code having its program counter which keeps track of lists of instruction to execute next, system registers which bind its current working variables. Threads are also termed as lightweight process. A thread uses parallelism which provides a way to improve application performance. It is the basic unit utilization of Microprocess. 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. · The idea of a thread is that a process has five fundamental parts: code (“text”), data, stack, file input/output and signal tables. “Heavy-weight processes” (HWPs) have a significant amount of overhead when switching: all the tables have ...
Comments
Post a Comment
Thank you for message