论文部分内容阅读
为提高A-NET计算机的模拟速度,利用UNIX进程管理和进程通信的功能,编制了多进程模拟程序.若干个进程利用进程间传送信息的pipe来实现同步.排斥控制由semaphore来解决.使用pipe、FIFO构成通信通道来实现进程间的数据交换.通信用命令的定义和数据传送过程的设定构成了通信协议.
In order to improve the simulation speed of A-NET computer, a multi-process simulation program is developed by using the functions of UNIX process management and process communication. Several processes use the pipe to send information between processes to achieve synchronization. Exclusion control is handled by semaphore. Use pipe, FIFO constitutes a communication channel to achieve the process of data exchange. The definition of communication command and the setting of data transmission process constitute the communication protocol.