上海交通大学网络教育学院--计算机专业--操作系统作业---操作系统实验报告_进程与进程通信
14)
15)
16)
17)
18)
19)
20)
21)
22) lpchar += sizeof(_MSGQ_HEADER) + sizeof(char)*msgSize[nowProcess] *((pMsgInfo->ReadIndex+i)%pMsgInfo->MsgMaxCount); strcpy(ReadMailBox[i++],lpchar); if((pMsgInfo->ReadIndex+i)%pMsgInfo->MsgMaxCount pMsgInfo->WriteIndex)//环形Queue break; //UnmapViewOfFile(ori); } return i; } ==
6、
演示效果图