文件名称:src
- 所属分类:
- Linux/Unix编程
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2013-12-14
- 文件大小:
- 2kb
- 下载次数:
- 0次
- 提 供 者:
- 嘉
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
进程管理
实验目的
掌握进程的概念,深入理解进程的含义。认识并理解并发环境中进程执行的实质问题,了解构成并发机制的进程创建过程;
了解在进程创建后通过对进程控制的系统调用,可实现对进程的有效控制。掌握在进程执行中对进程进行睡眠、同步、撤消等控制方法;
分析进程竞争资源的现象,学习解决进程互斥的方法。
实验内容
1、创建新的进程;查看运行进程;换出某个进程;*运行进程。
2、采用写者优先重写P94的读者-写者问题,并通过一个读写序列,将算法与读者优先算法进行比较。
-Experimental purposes grasp the concept of process management process, in-depth understanding of the meaning of the process. Awareness and understanding of the substantive issues in the process of executing a concurrent environment, understand the process of creation constitutes concurrency understand the process created by the process control system calls, can achieve effective control of the process. Lies in the process of implementation of the processes of sleep, synchronization, revocation and other control methods phenomenon analytical processes competing for resources, the process of learning to solve mutual exclusion method. Contents of an experiment to create a new process view running processes swap out a process kill running processes. 2, using write priority rewrite P94 reader- who write and a read-write sequence, the algorithm first algorithm compares with readers.
实验目的
掌握进程的概念,深入理解进程的含义。认识并理解并发环境中进程执行的实质问题,了解构成并发机制的进程创建过程;
了解在进程创建后通过对进程控制的系统调用,可实现对进程的有效控制。掌握在进程执行中对进程进行睡眠、同步、撤消等控制方法;
分析进程竞争资源的现象,学习解决进程互斥的方法。
实验内容
1、创建新的进程;查看运行进程;换出某个进程;*运行进程。
2、采用写者优先重写P94的读者-写者问题,并通过一个读写序列,将算法与读者优先算法进行比较。
-Experimental purposes grasp the concept of process management process, in-depth understanding of the meaning of the process. Awareness and understanding of the substantive issues in the process of executing a concurrent environment, understand the process of creation constitutes concurrency understand the process created by the process control system calls, can achieve effective control of the process. Lies in the process of implementation of the processes of sleep, synchronization, revocation and other control methods phenomenon analytical processes competing for resources, the process of learning to solve mutual exclusion method. Contents of an experiment to create a new process view running processes swap out a process kill running processes. 2, using write priority rewrite P94 reader- who write and a read-write sequence, the algorithm first algorithm compares with readers.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
process.c
process2.c
producer.c
writefirst.c