next up previous contents index
Next: Status Up: Other Features Previous: Temporary Files   Contents   Index


Synchronization

A synchronization primitive based on Cristian's algorithm (see Section 3.5) is provided.

The $\mathcal{P}$$e$$\mathcal{S}$$t$$\mathcal{O}$ synchronization primitive is:

The flag should be used to signal whether the client just wants to get the (estimated) server time, or whether it actually wants to synchronize (i.e., set client time to the estimated server time). A very simple synchronization program is shown in Figure 5.7.



michael@garfield.dk
2000-10-13