Previous | Next --- Slide 12 of 60
Back to Lecture Thumbnails
ajayram

This reminds me of std::lock_guard in C++ which is also really only useful for coarse-grain locking. But it does make things easier from the programmer's perspective because the lock is guaranteed to be released upon deconstruction of the lock guard object.

Please log in to leave a comment.