note

happend-before

a->b

  1. same computer
  2. send must before receive: send(m)->cv(m)

concurrent

if a and b happened on different machine, a||b, which means you can’t define which happen first

that’s why lamport’s clock is partial order

  1. local event    ti=ti+1     increment using for local event is 1
  2. sender include t in the msr

rcv: max(tj,ti)+1

Advertisements
note

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s