From 8f8259fd4f696bde3172246d7076904217fd7585 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 1 Jul 2017 02:39:53 +0300 Subject: std::call_once: fix grammar --- _posts/2015-07-03-std-call-once-bug.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '_posts') diff --git a/_posts/2015-07-03-std-call-once-bug.md b/_posts/2015-07-03-std-call-once-bug.md index 98d3d26..5bf276f 100644 --- a/_posts/2015-07-03-std-call-once-bug.md +++ b/_posts/2015-07-03-std-call-once-bug.md @@ -112,7 +112,7 @@ private: The point is that the `Logger::get_instance` routine above wasn't thread-safe until C++11. -Imagine what might happen if `Logger`s constructor takes some time to +Imagine what might happen if `Logger`'s constructor takes some time to initialize the instance. If a couple of threads then call `get_instance`, the first thread might begin the initialization process, making the other thread believe that the instance -- cgit v1.2.3