270x Filetype PDF File size 1.14 MB Source: www.cmi.ac.in
Concurrent Objects
Please read sections 3.7 and 3.8
Companion slides for
The Art of Multiprocessor Programming
by Maurice Herlihy & Nir Shavit
Linearizability
• History H is linearizable if it can be
extended to G by
– Appending zero or more responses to pending
invocations
– Discarding other pending invocations
• So that G is equivalent to
– Legal sequential history S
– where ➔ ⊂➔
G S
Art of Multiprocessor 125
Programming
What is ➔ ⊂➔
G S
➔ = {a!c,b!c}
G
➔ = {a!b,a!c,b!c}
S
a
➔G
b ➔G c
timetime ➔S
(8) Art of Multiprocessor 126
Programming
What is ➔ ⊂➔
G S
➔ = {a!c,b!c}
G
➔ = {a!b,a!c,b!c}
S
e
th
n
o
a n
➔ tio !
G ita S
im
l
A ce of
b ➔G c Choi
timetime ➔S
(8) Art of Multiprocessor 126
Programming
no reviews yet
Please Login to review.