Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Writing Code for Multi Core CPU

 
Alec Lee
Ranch Hand
Posts: 569
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To fully utilise a multi-core CPU, is it simply by writing all codes in as many threads as possible (or at least # of threads matches # of core) and assume the OS will auto allocates the threads and utilise idle CPU cores as much as possible?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic