How can one processor run ten apps at the same time?
Lesson 16.2 · Ten Things at Once
Sarah · Jenny
Twenty things, two cores, nobody notices.
Sarah has music playing, a game paused, a chat open and a download going on her own laptop.
Grandma Ruth’s laptop only has two cores. Sarah asks how two cores can run twenty things. Jenny says they can’t, not really.
They take turns, so fast you never notice.
The short answer
It doesn’t, exactly. The OS gives each one a tiny slice of time and switches hundreds of times a second, saving each one’s place. Grandma Ruth’s two cores handled dozens of processes that way for years. The problem was never the turn-taking. It was the slow drive everyone was waiting on.
Try it yourself
Step through how one core shares its time between three apps.
One core, three programs that all want to run: music, a chat app and a download.
What you just did has a name
Processes and multitasking
A process is one running program, with its own memory and its own place in its instructions.
Multitasking is the OS switching between processes so quickly, many times a second, that they all seem to run at once.
With several cores, some really do run at the same time, but there are almost always more processes than cores, so the OS is always taking turns.
A few more things
Task Manager shows processes
Every line in Task Manager or Activity Monitor is a process. There are usually dozens, most of them part of the OS itself.
Saving your place
When the OS pauses a process, it saves exactly where it was: the program counter and registers from Module 6. When it resumes, it puts them back.
Priorities
The OS gives some processes more slices than others. Your music and whatever you’re clicking get priority so they never stutter; a background backup waits.
Go deeper
The longer version, if you want it.
What a frozen app is
When an app freezes, the OS is usually still fine: it’s handing out time slices as usual, but the app is stuck in a loop or waiting on something that never arrives. That’s why you can still open Task Manager and end it.
If the OS itself gets stuck, everything freezes, including the mouse. That’s much rarer, and usually a driver or hardware problem, like Module 14 warned.
Quick check
How does one core seem to run several apps at once?
Let’s take it slower
Think of a chess master playing twenty opponents at once, walking down a row of tables and making one move at each. Every player feels like they’re in a game. The master is only ever at one table. Do that fast enough, a few hundred tables a second, and it looks like twenty games happening together. That’s multitasking.
More examples
Music while you type
Your music never skips while you type an essay, because the OS keeps giving the music player its slices on time.
Ending a frozen app
Task Manager’s “End task” asks the OS to stop giving a stuck process any more turns and free its memory.
Back to the question
So how does one processor run ten apps?
Show the answer
It doesn’t, exactly. The OS gives each one a tiny slice of time and switches hundreds of times a second, saving each one’s place. Grandma Ruth’s two cores handled dozens of processes that way for years. The problem was never the turn-taking. It was the slow drive everyone was waiting on.
One last question
Which of these would you trust?
“A process is one running program with its own memory.”
“A computer with two cores can only run two apps.”
“When an app freezes, the OS is usually still working.”
“Multitasking means every app runs on its own processor.”
Talk Card
Talk Card · 16.2
Your computer isn’t really doing ten things at once. It’s taking turns so fast you can’t tell.
How Computers Work · pettigrewlab.com/learn

