News for hackers. Stuff that matters.
Re:How to Adopt Modern C++17 into Your C++ Code [video] by monocasa on Thursday May 10, 2018 @12:52PM (#17040597)
And RAII! That's so nice in an RTOS. Never again forget to drop priorities or reenable interrupts just because you went down a not as well trodden failure path. You can even return the lock_guard, and the caller can continue to do work in the same atomically locked context, but if they choose not to, they just drop the return value and everything works as expected.

There are no comments on this comment yet.