节点文献
操作系统进程同步的教学实践
Teaching Practice of Operating System Process Synchronization
【Author】 LI Zhimin~1,ZHAO Yiding,DI Heng (Zhongyuan University of Technology,Zhengzhou 450007,Henan China)
【机构】 中原工学院计算机学院;
【摘要】 针对操作系统课程中,存在进程同步内容抽象、难以理解的教学实际,本文在分析进程相互制约关系的基础上,归纳出利用信号量机制实现进程同步、互斥的一般性解题思路,以"生产者—消费者问题"为例阐述了具体的解题步骤,在教学过程中结合基于Java多线程的可编程操作代码,通过真实的运行结果把抽象知识变为易理解的知识,取得在理论教学方面提高学生学习兴趣、在实践教学方面提高学生实际动手能力的效果。
【Abstract】 The content of the abstract process of synchronization in is difficult to understand in the Operating System teaching practice.The article start with analyzing the relationship between the process of mutual restraint and summarize general problemsolving ideas of using semaphores mechanism to achieve synchronization and mutual exclusion.It Specifics general problemsolving ideas as the"Producer - Consumer problem"example.In the teaching process,Actual operating results can be observed by a programmable multi-threaded java based operations and make the abstract knowledge easy to understand and obtain In the theoretical teaching to enhance students interest in learning,teaching practice to improve the effect of the practical ability of students.
【Key words】 process; synchronization; mutex; semaphore; multi-threading;
- 【会议录名称】 计算机研究新进展(2010)——河南省计算机学会2010年学术年会论文集
- 【会议名称】河南省计算机学会2010年学术年会
- 【会议时间】2010-11-11
- 【会议地点】中国河南郑州
- 【分类号】TP316-4
- 【主办单位】河南省计算机学会