How operating systems run programs: processes, threads, scheduling, context switches and inter-process communication.
22 terms
Aging in operating systems gradually raises the priority of waiting processes so that a scheduler never leaves low-priority work starving indefinitely.
A child process is a process created by another running process, inheriting part of its environment while running as a separate, independently scheduled task.
Cooperative multitasking is a scheduling model in which each running task must voluntarily yield the CPU before the operating system can run another task.
A CPU-bound process is a program whose running time is limited by processor speed rather than by disk, network or other input and output waits.
First-come, first-served scheduling (FCFS) is a CPU scheduling policy that runs processes strictly in arrival order, each one until it blocks or finishes.
An I/O-bound process spends most of its time waiting for input and output operations to finish rather than using the CPU for computation.
A kernel thread is a thread that the operating system kernel creates, schedules and manages directly, with its own stack and scheduling state.
A multilevel feedback queue (MLFQ) is a CPU scheduler that moves processes between priority queues based on their observed behavior and CPU usage.
An orphan process is a running process whose parent has exited, so the operating system reassigns it to init or a subreaper that later collects its…
A parent process is an operating system process that creates another process, owns its lifecycle and collects its exit status when that child terminates.
Preemption in operating systems is the forced suspension of a running task by the kernel so that another, more urgent task can use the CPU.
Preemptive multitasking lets an operating system kernel interrupt a running task at any moment and hand the processor to another ready task.
Priority inversion is a scheduling fault in which a high-priority task waits on a lower-priority task that holds a shared lock or resource.
Priority scheduling is a CPU scheduling policy in which the operating system always runs the ready process or thread with the highest assigned priority.
A process control block (PCB) is the kernel data structure that stores everything an operating system needs to track, schedule and resume one process.
Process state is the lifecycle stage of a running program, such as ready, running or blocked, that the operating system kernel tracks to schedule the CPU.
Real-time scheduling is the operating system method of ordering tasks so that each one finishes before its deadline, with timing that can be predicted.
Round-robin scheduling is a preemptive CPU scheduling algorithm that gives each ready process a fixed time slice in turn, cycling through a FIFO queue.
A run queue is the kernel data structure that holds runnable threads waiting for a CPU, from which the scheduler picks the next task to execute.
Shortest job first (SJF) is a CPU scheduling policy that runs the ready process with the shortest expected CPU burst next, minimizing average waiting time.
A time slice is the fixed interval of CPU time a preemptive scheduler grants a thread before it may switch to another runnable thread.
A user-level thread is a thread created, scheduled and switched by a runtime library in user space, without the kernel knowing it exists.
Terms explained in another topic that belong here too.
Resource starvation occurs when a thread or process waits indefinitely for a resource because the scheduler or lock policy keeps favoring other…
Symmetric multiprocessing is a computer architecture in which two or more identical processors share one memory and one operating system as equals.