Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on MutexProtected: A C++ Pattern for Easier Concurrency. Parent comment
No, because lock_guard doesn't guard fields. lock_guard is simply the RAII option they were talking about in the article.
There are no comments on this comment yet.
No, because lock_guard doesn't guard fields. lock_guard is simply the RAII option they were talking about in the article.