Click here to Skip to main content
15,884,472 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have read much, but opinions are different.
I wanna know:

1. A single core CPU executes 2 tasks at a time:
time1 = task1 + task2

2. A single core CPU executes 2 tasks by queue using context switching:
time1 = task1
time2 = task2

What is right?
Posted

A single core can execute one task at a time: but it can switch tasks to appear to be executing many tasks simultaneously.
 
Share this answer
 
It can do one task while making you wait for another.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900