资 源 简 介
假设系统中有两个分别名为P1、P2的进程及两台均可进行输入、输出操作的设备d1、d2。两个进程可以从两台设备中的任何一台输入数据,并可以向其中的任何一台设备输出数据。编写C程序,模拟操作系统中使用的设备缓冲区管理算法,完成上述进程的输入、输出操作及数据处理任务。-assumption that the system has two named P1, P2 and the process can be carried out two input, Output operation of equipment d1, d2. 2 process from two equipment of any one input data, and can assure them in any one piece of equipment output data. C. preparation procedures, the operating system simulation equipment used in the buffer management algorithms, completion of the admission process, operation and output data processing tasks.