Skip to main content

Unit 4.2.1 Of cores and threads

From Wikipedia:

“A multi-core processor is a single computing component with two or more independent processing units called cores, which read and execute program instructions.”

A thread is a thread of execution.

  • It is an stream of program instructions and associated data. All these instructions may execute on a single core, multiple cores, or they may move from core to core.

  • Multiple threads can execute on different cores or on the same core.

In other words:

  • Cores are hardware components that can compute simultaneously.

  • Threads are streams of execution that can compute simultaneously.

What will give you your solution faster than using one core? Using multiple cores!