• Aucun résultat trouvé

Paul M.B. Vitanyi OWl, Amsterdam

N/A
N/A
Protected

Academic year: 2022

Partager "Paul M.B. Vitanyi OWl, Amsterdam"

Copied!
1
0
0

Texte intégral

(1)

Errata

to

"Atomic Shared Register Access byasynchronous Hardware,"

FOCS

'86.

Paul M.B. Vitanyi OWl, Amsterdam

Baruch Awerbuch M.I.T., Cambridge, Mass.

The above paper rVA] has the following error in the CStruldbrugg' algorithm (the main bounded tag algorithm). In the fol- lowing, we assume familiarity with the paper. The "selection rule" of the reader is not sufficient to guarantee atomicity, but only the weaker regularity condition. Infor- mally, regularity for multiwriter registers means that a reader does return a value written by a write, such that there is no complete other write strictly in between the durations of the read and the write it returns. See [L] or [AK] for the definitions.

Here is the counterexample. Let the selec- tion rule for readers be to select the least indexed writer which is not seen by other writers. (In the paper we used the greatest index.)

1. Writers 1,2,3 do initial writes (doesn't matter in which order) and write values a,b,c, respectively.

2. Writer 1 starts write and reads values b and e, and gets stuck.

3. Writer 2 starts wrire and reads values a and c, and gets stuck.

4. Writer 3 starts wri~ and reads value b, and gets stuck.

5. Writers 1 and 2 terminate and write values x and y, respectively.

6. The reader execu~sthe first read and reads values x,y,c. It now chooses X,

because both x and y have seen c, have not seen each other, and x is by writer 1.

7. Writer 3 reads value x and terminates, and writes value z.

8. The reader executes a second read, and now reads values x,y,z. Now, x,y have not seen z, and z has seen X but not y. So the reader selects between y and z and chooses the value (y) by the

487

least indexed writer, which is 2.

(Oops!)

This is not atomic run, since there exists no shrinking mapping consistent with the read- ing mappin~. Informally, after both writer 1 and 2 terminated, two subsequent nonover- lapping reads returned first the value written by 1 and then the value written by 2, while after both writers were terminated the com- pound register should contain either the value of 1 or the value of 2. The proof of atomicity in the paper breaks down in Lemma 7, in the proof that atomicity condi- tion (PI) b) holds for the Struldbrugg algo- rithm. There, the conclusion that the con- structed action digraph has no directed cycles is false.

A similar example was pointed out to us by G. Peterson. We have ideas how to fix the bug (staying close to the original version

l ,

but have not worked out the details yet.

G.

Peterson and J. Burns have found an alter- native way of getting rid of this problem.

They replace the csend-receive mechanism' of Struldbrugg by an 'atomic scan' and refine the selection rule in our paper, see this Proceedings.

References

[VA] P.M.B. Vitanyi and B. Awerbuch, Atomic ·shared register access by asyn- chronous hardware, Proc. 27th IEEE Symp. on Foundations of Computer Science (1986), 233-243.

[L] L. Lamport, On interprocess commun- ication, Distributed Oomputing 1(1986), 77-101.

[AK] B. Awerbuch, L.M. Kirousis, E.

Kranakis, P.M.B. Vitanyi, On proving register atomicity, Tech. Rept. CS- R8707, CWI, May 1987 (Submitted).

Références

Documents relatifs

The CCITT V.22 standard defines synchronous opera- tion at 600 and 1200 bit/so The Bell 212A standard defines synchronous operation only at 1200 bit/so Operation

Consider an infinite sequence of equal mass m indexed by n in Z (each mass representing an atom)... Conclude that E(t) ≤ Ce −γt E(0) for any solution y(x, t) of the damped

The purpose of this note is to give a generaltzation of this fact in a non-linear potential theory developed by s.. There is another proof for this result, based

functions reuches the extreme bound of 9 possible simplification.. function belongs to

We prove that the strong detonation travelling waves for a viscous combustion model are nonlinearly stable, that is, for a given perturbation of a travelling wave, the

Delano¨e [4] proved that the second boundary value problem for the Monge-Amp`ere equation has a unique smooth solution, provided that both domains are uniformly convex.. This result

[r]

For example, if C is the category of all compact metrizable dynamical systems then, as men- tioned above, there is no projectively universal object for C, but there is one for