操作系统进程管理演示系统的研究与实现 毕业论文.docVIP

  • 26
  • 0
  • 约 79页
  • 2016-05-10 发布于河北
  • 举报

操作系统进程管理演示系统的研究与实现 毕业论文.doc

本 科 生 毕 业 设 计(论文) ( 2008 届) 工程技术系 题 目: 操作系统进程管理演示系统开发(生产者-消费者) 学生姓名: 学 号: 专业名称: 班 级: 指导教师 姓名: 系(部): 信息工程学院 职称: 副教授 2008年 5 月 16 日 操作系统进程管理演示系统的研究与实现 摘要:操作系统是计算机专业最重要的基础课程之一,其中同步问题是最难的部分。本文通过分析操作系统进程同步与互斥的问题,然后利用P,V操作实现进程同步与互斥,并利用该算法设计了生产者-消费者模拟演示系统。通过该演示系统展现进程的管理(生产者-消费者)可以用于操作系统的教学中。 关键词:生产者-消费者问题;进程;同步;互斥 Research and Implementation of Process Management System Demonstration Abstract: Computer operating system is one of the most important basic courses, and synchronization is one of the most difficult part. This paper will analyze the process of the operating system simultaneously with the problem of mutual exclusion, and then using P, V synchronization achieving the operation about the process of mutually exclusive, and using the algorithm design of the producers - consumers mock demonstration system. Through the demonstration system about the process of management (producers - consumers) can be used for the teaching of the operating system. Key words: producers; consumers; the process of synchronization,;mutex 目录 1 引言 1 1.1 选题的意义 1 1.1.1 开发系统的背景 1 1.1.2 开发系统的目的 1 1.1.3 开发系统的意义 2 1.2 P,V操作的简介 2 1.2.1 P,V操作的介绍 2 1.2.2 进程同步的实现 3 1.2.3 进程互斥的实现 3 1.3 生产者-消费者问题的描述 3 1.3.1 问题的描述 4 1.3.2 模型分析 4 2 系统需求分析 7 2.1 任务概述 7 2.1.1 目标 7 2.1.2 运行环境 7 2.1.3 编程工具 7 2.2 演示系统的分析 7 2.2.1 功能需求分析 7 2.2.2 系统功能模块划分 7 2.2.3 系统流程分析 7 3 系统实现 10 3.1 程序结构 10 3.1.1 生产者模拟函数代码 10 3.1.2 消费者模拟函数代码 11 3.2 MFC界面的设计 12 3.2.1 MFC的介绍 12 3.2.2 MFC界面效果 14 3.3 系统功能的实现 17 4 系统演示 19 4.1 系统演示的准备 19 4.2 系统演示的效果 19 4.2.1 单生产者-单消费者模拟效果 19 4.2.2 多生产者-多消费者模拟效果 20 4.3 系统演示结论 22 5 总结 23 1 引言 1.1 选题的意义 操作系统(简称OS-operating system)是高等教育计算机应用专业教学计划中一门重要的专业基础课程。众所周知,计算机是各种信息系统的核心,CPU被喻为计算机系统的心脏,OS 被喻为计算机系统的大脑,是用户与计算机系统打交道的环境界面,心脏和大脑的紧密配合,才使计算机系统成为电子时代、信息社会无所

文档评论(0)

1亿VIP精品文档

相关文档