File:Lamport-Clock-en.svg
Summary
Example for the working of a lamport logical clock, showing the causality of events (happened-before relation).
Explanation
- A, B and C are processes (oder places)
- A1, A2 ... C5 are events or activites in that process (resp. at that place)
- The boxes at the events give the current value of the Lamport clock of that process at the given point in time.
- The arrows represent the passing of messages (resp. effects or data) between the processes (resp. places)
- The dark blue (resp. dark red) areas represent the cause (resp. the effect) of the event B4.
- The light blue (resp. light red) areas represent events, that are considered to be causes or effects of B4 by the lamport clock, but are in fact independent (or concurrent)
Events are concurrent to (independend of) B4, if no information flows to or from that event from or to B4. It's easy to see that the lamport clock does not recognize some of the events as independent, even though they are. This is because the Lamport clock only satisfies the weak clock condition (see logical clock).
Other Languages
- Deutsch
Licensing
I, the copyright holder of this work, hereby publish it under the following licenses:
![]() |
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License. |
![]() ![]() ![]() |
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license. | |
| ||
This licensing tag was added to this file as part of the GFDL licensing update. |
This file is licensed under the Creative Commons Attribution-Share Alike 2.5 Generic, 2.0 Generic and 1.0 Generic license.
- You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
You may select the license of your choice.
Category:CC-BY-SA-2.5,2.0,1.0
Category:CC-BY-SA-3.0-migrated
Category:Distributed computing
Category:Files with no machine-readable author
Category:Files with no machine-readable source
Category:GFDL
Category:License migration redundant
Category:Media missing infobox template
Category:Self-published work