diff options
Diffstat (limited to '_posts')
-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 |