文件名称:demo1
介绍说明--下载内容均来自于网络,请自行研究使用
实现全局状态的快照算法,并监控下列程序:两个进程P和Q用两个通道连成一个环,它们不断地轮转消息m。在任何一个时刻,系统中仅有一份m的拷贝。每个进程的状态是指由它接收到m的次数。P首先发送m。在某一点,P得到消息且它的状态是101。在发送m之后,P启动快照算法,要求记录由快照算法报告的全局状态。(The snapshot algorithm of global state is implemented, and the following programs are monitored: two processes P and Q are connected into a ring by two channels, and they continuously rotate the message M. At any time, there is only one copy of m in the system. The state of each process is the number of times it receives M. P sends m first. At some point, P gets the message and its status is 101. After M is sent, P starts the snapshot algorithm, and records the global status reported by the snapshot algorithm.)
相关搜索: 快照算法
(系统自动生成,下载前可以参看下载内容)
下载文件列表
文件名 | 大小 | 更新时间 |
---|---|---|
demo1 | 0 | 2020-01-14 |
demo1\小组实验.docx | 95258 | 2020-01-14 |
__MACOSX | 0 | 2020-01-14 |
__MACOSX\demo1 | 0 | 2020-01-14 |
__MACOSX\demo1\._小组实验.docx | 243 | 2020-01-14 |
demo1\client2.json | 158 | 2019-12-02 |
__MACOSX\demo1\._client2.json | 176 | 2019-12-02 |
demo1\client1.json | 158 | 2019-12-02 |
__MACOSX\demo1\._client1.json | 176 | 2019-12-02 |
demo1\.vscode | 0 | 2019-12-02 |
demo1\.vscode\launch.json | 482 | 2019-12-02 |
__MACOSX\demo1\.vscode | 0 | 2020-01-14 |
__MACOSX\demo1\.vscode\._launch.json | 176 | 2019-12-02 |
__MACOSX\demo1\._.vscode | 176 | 2019-12-02 |
demo1\main.go | 4192 | 2019-12-02 |
__MACOSX\demo1\._main.go | 176 | 2019-12-02 |
__MACOSX\._demo1 | 176 | 2020-01-14 |