Logo

Programming-Idioms

History of Idiom 33 > diff from v13 to v14

Edit summary for version 14 by :

Version 13

2015-10-29, 14:05:13

Version 14

2015-11-30, 12:37:28

Idiom #33 Atomically read and update variable

Assign variable x the new value f(x), making sure that no other thread may modify x between the read and the write.

Idiom #33 Atomically read and update variable

Assign variable x the new value f(x), making sure that no other thread may modify x between the read and the write.