0/1 уроков (0%)
– из 1
Thread-Safe and Thread-Neutral Bags
YouTube·C++Now
Explore the implementation of thread-safe and thread-neutral bags in C++ through this conference talk from C++Now 2013. Dive into the complexities of creating a fundamental container for threaded systems, focusing on the key 'get' operation. Examine how factors like thread count, work nature, processor types, and producer/consumer relationships impact bag implementation. Learn about two main abstractions - the drawer and the cupboard - designed to meet diverse application needs. Discover how C++11 multi-threading features are utilized to ensure thread safety and neutrality, with implementations validated through synthetic benchmarks and real-world applications.