Skip to content

Commit fdbaff2

Browse files
committed
[CP.2] link CP.102 list of books and add Herlihy-Shavit
closes isocpp#1725
1 parent ce5341b commit fdbaff2

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

CppCoreGuidelines.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# <a name="main"></a>C++ Core Guidelines
22

3-
June 17, 2021
3+
January 3, 2022
44

55

66
Editors:
@@ -14111,7 +14111,7 @@ Unless you do, nothing is guaranteed to work and subtle errors will persist.
1411114111
##### Note
1411214112

1411314113
In a nutshell, if two threads can access the same object concurrently (without synchronization), and at least one is a writer (performing a non-`const` operation), you have a data race.
14114-
For further information of how to use synchronization well to eliminate data races, please consult a good book about concurrency.
14114+
For further information of how to use synchronization well to eliminate data races, please consult a good book about concurrency (See [Carefully study the literature](#Rconc-literature)).
1411514115

1411614116
##### Example, bad
1411714117

@@ -15411,7 +15411,7 @@ Become an expert before shipping lock-free code for others to use.
1541115411
* Damian Dechev, Peter Pirkelbauer, and Bjarne Stroustrup: Understanding and Effectively Preventing the ABA Problem in Descriptor-based Lock-free Designs. 13th IEEE Computer Society ISORC 2010 Symposium. May 2010.
1541215412
* Damian Dechev and Bjarne Stroustrup: Scalable Non-blocking Concurrent Objects for Mission Critical Code. ACM OOPSLA'09. October 2009
1541315413
* Damian Dechev, Peter Pirkelbauer, Nicolas Rouquette, and Bjarne Stroustrup: Semantically Enhanced Containers for Concurrent Real-Time Systems. Proc. 16th Annual IEEE International Conference and Workshop on the Engineering of Computer Based Systems (IEEE ECBS). April 2009.
15414-
15414+
* Maurice Herlihy, Nir Shavit, Victor Luchangco, Michael Spear, "The Art of Multiprocessor Programming", 2nd ed. September 2020
1541515415

1541615416
### <a name="Rconc-double"></a>CP.110: Do not write your own double-checked locking for initialization
1541715417

scripts/hunspell/isocpp.dic

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ gx
225225
handcoded
226226
Henricson
227227
Henricson97
228+
Herlihy
228229
hh
229230
hier
230231
hierclass
@@ -294,6 +295,7 @@ Lomow
294295
longjmp
295296
LSP
296297
lst
298+
Luchangco
297299
lvalue
298300
lvalues
299301
m1
@@ -356,6 +358,7 @@ Naumann
356358
ness
357359
newdelete
358360
nh
361+
Nir
359362
NL
360363
nodiscard
361364
noexcept
@@ -507,6 +510,7 @@ SemiRegular
507510
Sergey
508511
Sewell
509512
SFINAE
513+
Shavit
510514
sharedFoo
511515
sharedness
512516
sharedptrparam

0 commit comments

Comments
 (0)