期刊文献+

生产者与消费者问题在JAVA中的实现 被引量:2

IMPLEMENT OF THE PROBLEM OF PRODUCER-CONSUMER IN JAVA
下载PDF
导出
摘要 生产者与消费者问题是《操作系统》中经典进程同步问题的典型代表。本文介绍了基于单缓冲区和多缓冲区的生产者与消费者问题在JAVA中的多种实现机制,其中主要利用了数据结构中的循环队列和堆栈来模拟实现。这种用JAVA实现生产者与消费者问题的思想不仅可以帮助学生更好的理解所学内容,而且还可以锻炼学生的动手实践能力,具有很强的参考价值和实践意义。 The problem of producer - consumer is a typical representative of classical process's synchronizing in《operating system》. Some methods accomplishing the problem of producer - consumer with single - buffer and multi - buffer in JAVA were introduced, which mainly use circulating queue and stack in Data Structure. The thinking of accomplishing the problem of producer - consumer in JAVA will not only help students understand the content better, but also enhance their practical ability, which has a strong reference value and practical significance.
作者 白戈力
出处 《内蒙古农业大学学报(自然科学版)》 CAS 2006年第2期117-121,共5页 Journal of Inner Mongolia Agricultural University(Natural Science Edition)
关键词 生产者 消费者问题 进程 线程 JAVA 程序语言 The problem of producer- consumer process thread JAVA
  • 相关文献

参考文献3

二级参考文献3

  • 1李启炎 等.PASCAL程序设计语言[M].同济大学出版社,..
  • 2张尧学 史美林.计算机操作系统教程[M].北京:清华大学出版社,2001..
  • 3汤子赢.计算机操作系统[M].西安:西安电子科技大学出版社,1996.12.

共引文献6

同被引文献23

引证文献2

二级引证文献6

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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