Podcast
Questions and Answers
What mechanism do scheduler activations use to communicate from the kernel to the upcall handler in the thread library?
What mechanism do scheduler activations use to communicate from the kernel to the upcall handler in the thread library?
- Interrupts
- Signals
- Upcalls (correct)
- Callbacks
Which operating system implements a one-to-one mapping between user-level threads and kernel-level threads?
Which operating system implements a one-to-one mapping between user-level threads and kernel-level threads?
- Android
- Mac OS
- Linux
- Windows (correct)
What does each thread in Windows contain to represent the state of the processor?
What does each thread in Windows contain to represent the state of the processor?
- Thread id
- Register set (correct)
- Private data storage area
- Kernel stack
In Linux, what system call is used for thread creation?
In Linux, what system call is used for thread creation?
What Linux feature allows a child task to share the address space of the parent task?
What Linux feature allows a child task to share the address space of the parent task?
What term does Linux use to refer to threads?
What term does Linux use to refer to threads?
What is the purpose of a signal handler in an operating system?
What is the purpose of a signal handler in an operating system?
In operating systems, what is the role of a user-defined signal handler?
In operating systems, what is the role of a user-defined signal handler?
What is the default action when a signal is handled in an operating system?
What is the default action when a signal is handled in an operating system?
For multi-threaded processes, where should a signal be delivered?
For multi-threaded processes, where should a signal be delivered?
What is the purpose of thread cancellation in an operating system?
What is the purpose of thread cancellation in an operating system?
In the context of scheduler activations, what is the role of a lightweight process (LWP)?
In the context of scheduler activations, what is the role of a lightweight process (LWP)?
What is the main role of a Short-term scheduler (CPU scheduler) in an operating system?
What is the main role of a Short-term scheduler (CPU scheduler) in an operating system?
Which process state signifies that a process is waiting for some event to occur?
Which process state signifies that a process is waiting for some event to occur?
What type of process spends more time doing I/O operations than computations?
What type of process spends more time doing I/O operations than computations?
What information is NOT typically found in the Process Control Block (PCB)?
What information is NOT typically found in the Process Control Block (PCB)?
What is the primary purpose of the context switch in an operating system?
What is the primary purpose of the context switch in an operating system?
Which scheduler controls the degree of multiprogramming in an operating system?
Which scheduler controls the degree of multiprogramming in an operating system?
What is the main function of the Long-term scheduler (job scheduler) in an operating system?
What is the main function of the Long-term scheduler (job scheduler) in an operating system?
Which queue in an operating system contains all processes residing in main memory, ready and waiting to execute?
Which queue in an operating system contains all processes residing in main memory, ready and waiting to execute?
In an operating system, what does the running state indicate about a process?
In an operating system, what does the running state indicate about a process?
What is a characteristic of CPU-bound processes?
What is a characteristic of CPU-bound processes?
Flashcards are hidden until you start studying