Generic Locking in C++ - Andrei Alexandrescu

Thanks! Share it with your friends!

You disliked this video. Thanks for the feedback!

Added by admin
Lock-based synchronization continues to be a dominant technique for synchronizing multithreaded programs. Better support for multiple readers/single writer locks has made it more competitive. Furthermore, C++1x STL introduces special guarantees for containers aimed at better support for the readers/writer paradigm.
However, lock-based synchronization still has well understood downsides such as proneness to races and deadlocks due to its poor integration with type systems. This talk discusses folly/Synchronized, a C++ library that provides reliable encapsulated locking for generic types.
NDC Oslo 2016

Post your comment