摘要
多核处理器环境日益普及,针对此体系结构的应用程序的并行性研究已成为焦点。面向对象程序设计语言中通常是用线程来实现应用程序的并行性,但线程间的同步和通信实现起来往往很复杂且不能充分利用多核优势。提出一种基于数据流及Java扩展库的多线程实现解决方案,给出了一种新的多线程编程方法。结果表明该方法不但容易实现且更能充分利用多核优势。
Multi-core processors are applied into various computer application areas,researching on how to develop the parallelism of application which based on this architecture become focus.Object-oriented programming languages are often used to implement the application threads in parallel,but inter-thread synchronization and communication to achieve them are often very complex and can not take full advantage of multi-core advantage.Paper presents a Java based on data flow and the expansion of the library thread implementation solution;we give a new multi-threaded programming.The results show that the method is not only easy to implement and make fuller use of multi-core advantage.
出处
《煤炭技术》
CAS
北大核心
2010年第11期208-210,共3页
Coal Technology