A command that renames a file
What is mv?
A program in execution?
What is a process
A common nickname for a thread
What is a lightweight process
A synchronization problem where multiple readers and writers are attempting to simultaneously access a shared data file or database.
What is the Readers, Writers problem
The process that decides which process should be loaded from the ready list to the CPU next?
What is a short-term scheduler
This command navigates to your home directory.
What is cd ~
A data structure used to store information about a process?
Process Control Block (PCB)
The POSIX function for starting a thread in C
What is pthread_create()?
A synchronization primitive that can be set to 1 or 0 and will block a process when wait() or P() is called when the value is 0.
What is a mutex?
This enables CPU scheduling, pausing a process and then potentially resuming a different process
What is a context switch?
This is how you display all files in the current directory in long listing format
ls -l
Part of the purpose to this procedure results in saving or restoring the state of a process
What is a context switch?
Kernel-level threads are needed to provide this
What is visibility/management by the operating system OR true parallelism using all available CPU cores?
A resource allocation problem with 5 processes and 5 shared resources where a solution will ensure concurrency, mutual exclusion, and avoid deadlock?
What is the Dining Philosophers Problem
This is a visualization of how the following processes would be executed on the CPU using the Round Robin based short-term scheduler with Quantum = 3:
You type this in the terminal to display processes started by the current user
What is ps?
A state in which a process is waiting on a resource that is not available
What is a Blocked state
This part of the Thread Control Block (TCB) is also in the data structure used to manage the process that started the thread, but has a distinct value.
What is stack pointer OR stack location OR program counter?
A hardware operation that atomically copies the value of a variable to a register and then sets the value of the variable to 0. Also the required operation for a hardware-based implementation of a mutex.
What is a Test and Set operation
Priority-based scheduling algorithms have this potential negative effect.
What is starvation?
You type this command to determine how much secondary storage space is available on your system
What is df?
A message-passing method of Inter Process Communication between two local, parent-child related processes
What is a pipe?
A condition where a thread, not needing to enter the critical section, nevertheless blocks other threads from entering the critical section of code
What is lockout?
High-level synchronization primitive / abstract data type facilitating solutions to various classic synchronization problems
What is a monitor
This is a visualization of how the following processes would be executed on the CPU using Priority-based scheduling
What is: