Computer Organization & Embedded System — Real-Time Operating and Control System, NEC licence examination syllabus (Nepal Engineering Council).
Same program, different levels of "aliveness."
Right now, your browser is one process, but it's probably running dozens of threads inside it simultaneously — one for each open tab, roughly speaking. Understanding the difference between "process" and "thread" explains why closing one tab doesn't crash the others.
ProcessHas its own memory space and resources (PCB tracks its state, registers, priority).
ThreadA lighter-weight unit of execution INSIDE a process — multiple threads in one process share the same memory but run independently.
Kernel-level threadsManaged directly by the OS — better for multiprocessing.
User-level threadsManaged by a library without OS awareness — faster to switch, but can't use multiple cores.
Create a free account to tick topics off, take notes as you read, watch the video lessons and get a day-by-day study plan built around your exam date.
Loading…