Wednesday, February 11, 2009

How does multithreading take place on a computer with a single CPU

Question :How does multithreading take place on a computer with a single CPU?
Answer :The operating system's task scheduler allocates execution time to multiple tasks. By quickly switching between executing tasks, it creates the impression that tasks execute sequentially.

No comments: