Multithreading (computer architecture): Difference between revisions

Content deleted Content added
Hardware Cost: reformatting
Hardware Cost: what it means
Line 23:
thread and another thread ready to run. To support this goal, the hardware cost is to
replicate the program visible registers as well as some processor control registers (such as the program counter).
Switching from one thread to another thread means the hardware switches from using one register set to another.
 
Such additional hardware has these benefit:
* theThe thread switch can be done in one CPU cycle.
* It appears to each thread that they are executing alone and not sharing any hardware resources with any
other threads. This minimizes the amount of software changes needed within the application as well as the operating system