Question: Can we build a concensus protocol using only atomic memory if we do the following? Thread A writes [value + timestamp] in register r Thread
Can we build a concensus protocol using only atomic memory if we do the following? Thread A writes [value + timestamp] in register r Thread B writes [value + timestamp] in register r2 Each thread reads r1 and r2 and use either the only non-blank register or the earliest written. Does it work? Why or why not?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
