Greife auf kostenlose Karteikarten, Zusammenfassungen, Übungsaufgaben und Altklausuren für deinen OS2 Kurs an der University of Cape Town zu.
What is a thread library?
An API for creating and managing threads.
What is asynchronous thread cancellation?
Terminating a target thread immediately.
What are the benefits of multithreading?
Responsiveness, allowing continuous execution if part of a process is blocked.
Resource sharing, allowing threads to share resources of a process.
Economy, it's computationally cheaper to create threads than it is to create processes.
Scalability, more concurrency.
What is the difference between user threads and kernel threads?
User threads are supported above the kernel, without support from the kernel. Kernel threads are supported and managed directly by the OS.
What is a process?
A program in execution
What are signals?
Something used in UNIX systems to notify a process that a certain event has occurred.
How do operating systems accommodate multiple copies of a program running at once?
To save space, the computer only stores one copy of the instructions (the programs source code), and creates multiple processes to read said instructions.
What is the difference between a program and a process?
A program is a static entity while a process is a dynamic entity
What is an orphan process?
A process that still has an entry in a process list but whose parent has ended without invoking wait().
Can a process create other processes?
Yes, processes are capable of starting new processes.
What is the job of an operating system with regard to threads?
To provide the illusion of infinite virtual processes running.
What is deferred thread cancellation?
Allowing threads to periodically check whether they need to be cancelled.
Greife kostenlos auf tausende geteilte Karteikarten, Zusammenfassungen, Altklausuren und mehr zu.
Jetzt loslegen