Simulation of Delayed Channel Based on Socket and Sleep Statement

Wei Ding · Microelectronics & Computer · 2008

Take the classic CandyLamport snapshot algorithm as an example,this paper provides a solution of simulation of delayed channel based on Socket and Sleep statement and a method to generate random test data along with corresponding standard answer using Monte-Carlo simulation,which can supply the random test and corresponding standard answer in stand-alone microcomputer,at the same time,simulating the delayed channel,therefore supporting the testing to distributed systems and distributed algorithms.

Read the paper · More papers on PaperTik