diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2017-07-01 02:39:53 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2017-07-01 02:39:53 +0300 |
commit | 8f8259fd4f696bde3172246d7076904217fd7585 (patch) | |
tree | 215206e652cd524c13a561bb5b427f4194fc1d15 /_posts | |
parent | lighter background-color of <pre> and <code> (diff) | |
download | blog-8f8259fd4f696bde3172246d7076904217fd7585.tar.gz blog-8f8259fd4f696bde3172246d7076904217fd7585.zip |
std::call_once: fix grammar
Diffstat (limited to '')
-rw-r--r-- | _posts/2015-07-03-std-call-once-bug.md | 2 |
1 files changed, 1 insertions, 1 deletions
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 |