期刊文献+

基于Java多线程机制的龟兔赛跑程序 被引量:2

Program of Race Between Rabbit and Tortoise Based on Java Multi-thread Mechanism
下载PDF
导出
摘要 支持多线程机制是Java编程语言的一大重要特性,本文重点介绍基于线程和基于进程的多线程机制的基本概念及其优缺点,以及多线程的定义方法。通过龟兔赛跑程序的实现进一步介绍基于Java多线程机制的应用与实现。 Support multithreading mechanism is a very important characteristic of Java programming language,this article focus on introduces the basic concept and the advantage and disadvantage based on the thread and based on the multi-thread mechanism,as well as multi-thread definition method.Through the program of race between rabbit and tortoise further introduces the realization based on the Java multi-thread mechanism's application.
作者 杨桦 周静
出处 《计算机与现代化》 2011年第9期165-167,172,共4页 Computer and Modernization
关键词 多线程 线程同步 唤醒 并发 multiple-thread thread synchronization wake up concurrent
  • 相关文献

参考文献11

二级参考文献17

  • 1喻志虎,邹华,杨放春.Parlay应用服务器的软件容错研究与设计[J].北京邮电大学学报,2004,27(z2):14-19. 被引量:2
  • 2王志和,王新辉.基于Java的多线程实现技术[J].湖南人文科技学院学报,2005,22(5):65-67. 被引量:3
  • 3DarbyC GriffinJ deHaanP.Java网络编程指南[M].北京:电子工业出版社,2002..
  • 4GOSLING J,JOY B,STEELE G,et al.Java language specification[M].3rd.ed.New York:Addison-Wesley Professional,2005.
  • 5GOSLING J,JOY B,STEELE G,et al.Java code conventions[M].3rd ed.New York:Addison-Wesley Professional,2004.
  • 6HORSTMANN C S,CORNELL G.Java2核心技术(卷2):高级特性(第7版)[M].陈昊鹏,王浩,姚建平,等译.北京:机械工业出版社,2006.
  • 7ALLEN H.Taming Java threads[M].New York:[s.n.] ,2000.
  • 8VENNERS B.Inside the Java virtual machine[M].2nd ed.New York:McGraw-Hill Companies,2003.
  • 9GAY S H,CORNELL G.Core Java 2 volume II advanced features[M].6th ed.New York:Prentice Hall PTR,2006.
  • 10ECKEL B.Thinking in Java[M].3rd ed.New York:Prentice Hall PTR,2005.

共引文献21

同被引文献4

引证文献2

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部