Multi-Thread Programming and MultiCore

Martson 2008-05-08 04:32:48
My teacher told me that as the multicore computes come to the public,the common program running on the single core will not be applicable.But I think that the program base on multi-thread can run on the multicore platform.I think the program can run well if we start enough thread and let the threads run on the different core.For instance,we can implement the merger sort algorithm using multi-thread.

But this idear seems to be wrong,at least multicore programming is not so sample.Can you tell me the differences between multiCore programming and multi-thread programming base on single core platform?
...全文
156 3 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
sucker2000 2008-07-15
  • 打赏
  • 举报
回复
man, how do you define the term of "multiCore programming"? Multicore usually refer to the hardware platform.

For multi-thread programming, it can run either on a multicore system or a single core system.
Intel_CG 2008-07-15
  • 打赏
  • 举报
回复
no fundemantal differences between multiCore programming and multi-thread programming. one difficulty is how to handle the shared variables, which may cause a certain level serial executing if you apply some locks. pls try Intel TBB (Threading Building Block), it provide multi-threaded solution for sorting.

yx8523yx 2008-07-10
  • 打赏
  • 举报
回复
Is there anyone can't answer the question?

567

社区成员

发帖
与我相关
我的任务
社区描述
英特尔® 边缘计算,聚焦于边缘计算、AI、IoT等领域,为开发者提供丰富的开发资源、创新技术、解决方案与行业活动。
社区管理员
  • 英特尔技术社区
  • shere_lin
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧