News for hackers. Stuff that matters.
Re:MutexProtected: A C++ Pattern for Easier Concurrency by gpderetta on Thursday April 06, 2023 @03:12AM (#35465238)
Aside from lambdas being cheap abstractions in C++, any code under a mutex is likely not the fast path anyway.
Re:MutexProtected: A C++ Pattern for Easier Concurrency by saagarjha on Thursday April 06, 2023 @03:33AM (#35465403)
I mean, some code is all slow paths ;)