Re:In the C++ bag of tricks: scoped locks
by infogulch on Friday February 07, 2014 @12:14PM
(#7197370)
What about:
Probably better to test for 0 exactly, in case it fails. You don't want it to unlock twice just because it returns -1.
[ Parent
| on HN ]
This is so wrong on so many levels.