Threads in operating system
Topic Outline Threads Difference between thread and process Types of Threads Kernel Level Thread User Level Thread Multithreading Advantages Resource Sharing Responsiveness Utilization of Multiprocessor Architecture Multithreading Models Many to One Model One to One Model Many to Many Model Threads Thread is a basic unit of CPU utilization. Thread is also called a lightweight process. Thread is a process within a process but it does not have its own process control block. In a process, multiple threads are created. In a process, multiple threads allow multiple executions. The thread consists of the following things. Thread ID Register Program counter Stack Difference between threads and process. Threads Process In threads no system call is involved . In a process system call is involved . Thread is a lightweight process. The Process is heavyweight . If the th...