Threads-Summary



Rating - 3/5
525 views

Summary

A thread is a flow of control within a process. A multithreaded process contains several different flows of control within the same address space. The benefits of multithreading include increased responsiveness to the user, resource sharing within the process, economy, and the ability to take advantage of multiprocessor architectures. User-level threads are threads that are visible to the programmer and are unknown to the kernel.

These Topics Are Also In Your Syllabus Threads-Summary
1 Types of Operating Systems - Batch operating system, Time-sharing systems, Distributed OS, Network OS, Real Time OS link
2 Mass Storage Structure overview link
You May Find Something Very Interesting Here. Threads-Summary link
3 Allocation of Frames link
4 Allocation methods link
5 Free Space management link

Threads-Summary

The operating-system kernel supports and manages kernel-level threads. In general, user-level threads are faster to create and manage than are kernel threads, as no intervention from the kernel is required. Three different types of models relate user and kernel threads:

These Topics Are Also In Your Syllabus Threads-Summary
1 Types of Operating Systems - Batch operating system, Time-sharing systems, Distributed OS, Network OS, Real Time OS link
2 Robustness link
You May Find Something Very Interesting Here. Threads-Summary link
3 Design Issues link
4 Design Principles link
5 Linux-Input & output link

The many-to-one model maps many user threads to a single kernel thread. The one-to-one model maps each user thread to a corresponding kernel thread. The many-to-many model multiplexes many user threads to a smaller or equal number of kernel threads.

Most modern operating systems provide kernel support for threads; among these are Windows 98, NT, 2000, and XP, as well as Solaris and Linux. Thread libraries provide the application programmer with an API for creating and managing threads. Three primary thread libraries are in common use: POSIX Pthreads, Win32 threads for Windows systems, and Java threads.

These Topics Are Also In Your Syllabus Threads-Summary
1 Types of Operating Systems - Batch operating system, Time-sharing systems, Distributed OS, Network OS, Real Time OS link
2 Thread scheduling link
You May Find Something Very Interesting Here. Threads-Summary link
3 Thread Libraries link
4 Petersons's Solution link
5 Synchronization Hardware link

Multithreaded programs introduce many challenges for the programmer, including the semantics of the f ork() and exec() system calls. Other issues include thread cancellation, signal handling, and thread-specific data.


Rating - 3/5
537 views

Advertisements