搜索资源列表
ProcessesCommunication
- 程序模拟操作系统课程中的进程间通信,方便起见,各个进程只有编号信息。所用数据结构为大小为10的队列。运行情况为:用户输入进程总数以及各个进程的编号,此后程序模拟进程对队列提出请求,若队列不空,则插入,队列满则不予插入。程序利用rnd这个随机变量是奇数还是偶数决定是入队还是出队。-Procedures for operating systems courses in the simulation process communication, convenience, only the number