Please enable JavaScript.
Coggle requires JavaScript to display documents.
Threads (Concepts (Microkernel (Benefits (Uniform interfaces on requests…
Threads
Concepts
-
-
Multithreading
The ability of an OS to support multiple, concurrent paths of execution within a single process.
-
Microkernel
-
-
-
Message
-
A body that contains direct data, a pointer to a block of data, or some control information about the process.
Within a microkernel it is possible to handle hardware interrupts as messages and to include I/O ports in address spaces
-
Jacketing:star:
Converts a blocking system call into a nonblocking system call by using an application-level I/O routine which checks the status of the I/O device.
Components
An execution state (running, ready, etc.)
-
-
-
-
-
-
-
-
Categories
User level thread
-
-
-
Advantages
-
Thread switching does not require kernel mode privileges because all of the thread management data structures are within the user address space of a single process
Disadvantages
In a pure ULT strategy, a multithreaded application cannot take advantage of multiprocessing.
When a ULT executes a system call, not only is that thread blocked, but also all of the threads within the process are blocked
Kernel level thread
-
-
Advantages
The kernel can simultaneously schedule multiple threads from the same process on multiple processors.
If one thread in a process is blocked, the kernel can schedule another thread of the same process.
-
-
-
-
-
-