Computer Science - Operating Systems - Process management - Processes and Scheduling
5 steps. Step 1 'What is a Process?': A running instance of a program. Has: code, data, stack, heap, registers, PC. Each process has unique PID. Process states: New → Ready → Running → Waiting → Terminated. Step 2 'Process vs Thread': Process: independent, own memory space, heavy to create. Thread: