Y
Hacker News
new
|
ask
|
show
|
jobs
by
lunfard000
1171 days ago
maybe add SerenityOS to the title? Almost sure that lock_guard is the ideomatic way to do this on cpp, not buying the "forget to lock".
2 comments
saagarjha
1171 days ago
It’s a general C++ trick.
link
Yoric
1171 days ago
FWIW, I've encountered "forget to lock" in production C++.
link