You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CppCoreGuidelines.md
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -2256,7 +2256,7 @@ Passing a shared smart pointer (e.g., `std::shared_ptr`) implies a run-time cost
2256
2256
// can only accept ints for which you are willing to share ownership
2257
2257
void g(shared_ptr<int>);
2258
2258
2259
-
// doesn’t change ownership, but requires a particular ownership of the caller
2259
+
// doesn't change ownership, but requires a particular ownership of the caller
2260
2260
void h(const unique_ptr<int>&);
2261
2261
2262
2262
// accepts any int
@@ -11370,7 +11370,7 @@ If you are doing lock-free programming for performance, you need to check for re
11370
11370
Instruction reordering (static and dynamic) makes it hard for us to think effectively at this level (especially if you use relaxed memory models).
11371
11371
Experience, (semi)formal models and model checking can be useful.
11372
11372
Testing - often to an extreme extent - is essential.
11373
-
“Don’t fly too close to the wind.”
11373
+
"Don't fly too close to the wind."
11374
11374
11375
11375
##### Enforcement
11376
11376
@@ -11388,10 +11388,10 @@ Become an expert before shipping lock-free code for others to use.
11388
11388
11389
11389
* Anthony Williams: C++ concurrency in action. Manning Publications.
11390
11390
* Boehm, Adve, You Don't Know Jack About Shared Variables or Memory Models , Communications of the ACM, Feb 2012.
11391
-
* Boehm, “Threads Basics”, HPL TR 2009-259.
11392
-
* Adve, Boehm, “Memory Models: A Case for Rethinking Parallel Languages and Hardware, Communications of the ACM, August 2010.
11393
-
* Boehm, Adve, “Foundations of the C++ Concurrency Memory Model”, PLDI 08.
11394
-
* Mark Batty, Scott Owens, Susmit Sarkar, Peter Sewell, and Tjark Weber, “Mathematizing C++ Concurrency”, POPL 2011.
11391
+
* Boehm, "Threads Basics", HPL TR 2009-259.
11392
+
* Adve, Boehm, "Memory Models: A Case for Rethinking Parallel Languages and Hardware", Communications of the ACM, August 2010.
11393
+
* Boehm, Adve, "Foundations of the C++ Concurrency Memory Model", PLDI 08.
11394
+
* Mark Batty, Scott Owens, Susmit Sarkar, Peter Sewell, and Tjark Weber, "Mathematizing C++ Concurrency", POPL 2011.
11395
11395
* 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.
11396
11396
* Damian Dechev and Bjarne Stroustrup: Scalable Non-blocking Concurrent Objects for Mission Critical Code. ACM OOPSLA'09. October 2009
11397
11397
* 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.
0 commit comments