Process Management

Core concepts of process and thread management.

  • JSON4,323 B
  • YAML3,119 B · −28%
  • TOON2,656 B · −39%

The vocabulary of process and thread management: processes, threads, control blocks, context switches, fork and exec, and the zombie and orphan states, plus process states, inter-process communication primitives and daemons.

Use it when

  • You need the precise meaning of a process term for debugging or teaching.
  • You are choosing between threads, processes and IPC mechanisms.

Watch out for

  • Linux, Windows and macOS implement these ideas differently; fork and exec are the Unix model, while Windows creates processes with a single call.
  • Zombie processes are already dead; they cannot be killed, only reaped by their parent.

The data

TermDescription
ProcessAn instance of a program in execution with its own address space.
ThreadA single flow of control within a process sharing its resources.
Process Control BlockData structure storing process state, registers, and scheduling info.
Context SwitchSaving and restoring CPU state when switching between processes.
ForkSystem call creating a child process as a copy of the parent.
ExecSystem call replacing the current process image with a new program.
Zombie ProcessA terminated process whose exit status has not been collected.
Orphan ProcessA process whose parent has terminated before it.
Process StatesThe lifecycle states of a process: new, ready, running, waiting (blocked) and terminated.
Inter-Process CommunicationMechanisms for processes to exchange data, such as pipes, sockets, shared memory and message queues.
PipeA one-way byte channel between processes, the basis of shell command chains.
SignalAn asynchronous notification delivered to a process, such as SIGTERM to ask it to exit.
SemaphoreA counter used to control access to a shared resource by multiple processes or threads.
MutexA lock that allows one thread at a time to hold it, used to protect critical sections.
DaemonA long-running background process, usually started at boot and detached from a terminal.
SchedulerThe kernel component that decides which ready process or thread runs next.

Fields

The shape of this dataset, read from the data itself: every column, its type and a real value. Agents can use this to plan a query without fetching the whole document.

SectionFieldTypeExample
datatermstringProcess
datadescriptionstringAn instance of a program in execution with its …

Fetch the same bytes

The static files contain the same reference rows as the API, with no API rate limit. Live metadata, such as view counts, may differ. Use the API for content negotiation; use the static files for a cacheable snapshot.

curl "https://yjtoon.com/api/dataset/process-management?format=toon"
const res = await fetch(
  "https://yjtoon.com/static-data/dataset/process-management.toon"
);
const toon = await res.text();

Rate limit: 120 requests per minute per IP, no key and no signup. API reference →

Topics

  • os
  • process
  • thread
  • scheduler

Search the library

Search by a topic, title, or keyword.

Start with a collection

Browse all 205 datasets