C++Now 2016 has ended
Please visit the C++Now website.
Back To Schedule
Wednesday, May 11 • 2:30pm - 4:00pm
Thread-safe Observer Pattern - You're doing it wrong

Log in to save this to your schedule, view media, leave feedback and see who's attending!

We've all written an Observer Pattern or list of Listeners at some point or another. And then later had to make it "thread safe". So we put a lock around the list of listeners...

So which evil did you choose:

1. potential deadlocks
2. potential post-death calls

Or did you not realize those were your typical choices?

In this talk we will look at what the problems are, and use them to highlight some of the fundamental problems of threading, and the things you can't take for granted with threads. And, of course, show some solutions to the problems.

avatar for Tony Van Eerd

Tony Van Eerd

Ninja/Jedi/Tony, Christie Digital
Tony has been coding for well over 25 years, and maybe coding well for some of that. Lots of pixel++, UX, threading, etc. Previously at Inscriber, Adobe, BlackBerry, he now enables Painting with Light at Christie. He is on the C++ Committee. He is a Ninja and a Jedi.Follow @tvaneerd... Read More →

Wednesday May 11, 2016 2:30pm - 4:00pm MDT
Booz Allen Hamilton