Multithreading (computer architecture): Difference between revisions

Content deleted Content added
Hardware Costs: previous explanation was incorrect
Line 58:
Such additional hardware has these benefit:
* The 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 to support multithreading.
to support multithreading.
 
In order to switch efficiently between active threads, each active thread needs to have its own
register set. For example, to quickly switch between two threads, the register hardware needs to be instantiated twice.
 
 
 
====Examples====