News for hackers. Stuff that matters.
Re:MutexProtected: A C++ Pattern for Easier Concurrency by Blackthorn on Thursday April 06, 2023 @10:28AM (#35468722)
> It sounds like you're trying to invent std::lock_guard with extra steps.

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.