1/19
Flashcards covering key concepts in Operating System concepts focused on processes, interprocess communication, and scheduling.
Process
A program in execution.
Thread
The unit of execution within a process.
Process Control Block (PCB)
A data structure used by the operating system to store all the information about a process.
Multiprogramming
The objective of having some process running at all times to maximize CPU utilization.
Context Switch
The process of saving the state of a running process and restoring the state of a waiting process.
Interprocess Communication (IPC)
Mechanisms for processes to communicate and synchronize their actions.
Blocking Communication
A form of communication where the sender is blocked until the message is received.
Non-blocking Communication
A form of communication where the sender continues its operation after sending a message.
Message Passing
A communication method where processes send and receive messages to communicate.
Shared Memory
A method where processes communicate by accessing a shared region of memory.
Producer-Consumer Problem
A common synchronization problem in which a producer process produces items for a consumer process.
Sockets
Endpoints for communication in client-server systems, identified by an IP address and port.
Job Queue
A queue that consists of all processes in the system as they enter.
Ready Queue
A queue that contains processes that are residing in memory and ready to execute.
Bounded Buffer
A buffer with a fixed size where the consumer has to wait if the buffer is empty.
Unbounded Buffer
A buffer with no fixed limit that allows the producer to always produce new items.
Direct Communication
A communication method where processes explicitly name each other.
Indirect Communication
A communication method where messages are sent to and received from mailboxes.
Asynchronous Communication
A communication form where sending and receiving do not block each other.
Synchronous Communication
A communication form where the sender waits until the receiver is ready.