Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Coroutine Patterns: Problems and Solutions in Modern C++ Codebases

CppCon via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore common patterns and pitfalls in C++ coroutines through this 31-minute CppCon conference talk. Delve into effective solutions for managing resources, synchronization challenges, and potential issues in heavily coroutinized codebases. Learn how to write correct code using coroutines, with examples based on Facebook's Folly implementation. Gain insights applicable to various coroutine implementations, suitable for both experienced practitioners and those considering introducing coroutines to their projects.

Syllabus

Intro
Agenda
Motivation
Tasks and Executors
Executor
Lifetime
Game
Keeping objects alive
Scheduling the background
ASN scope
Exceptions
Cleanup
Synchronization
Mutexes
Coroutine Locks
Conclusion

Taught by

CppCon

Reviews

Start your review of Coroutine Patterns: Problems and Solutions in Modern C++ Codebases

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.