CppMem: Locks

This lesson gives an overview of locks used in the context of CppMem.

Both threads - thread1 and thread2 - use the same mutex, and they’re wrapped in a std::lock_guard.

Get hands-on with 1200+ tech skills courses.