Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Did the servers produce the same orders?
- for($i = 0; $i < $np; $i++){
- if(!defined($peers->[$i]{dead})){
- my @a = @{$pl->[$i]};
- my $j;
- for($j = 0; $j <= $#a0; $j++){
- if($a[$j] ne $a0[$j]){
- return "servers produced different orders";
- }
- }
- $ns += 1;
- }
- }
Add Comment
Please, Sign In to add comment