Loading…
CppCon 2020 has ended
Back To Schedule
Wednesday, September 16 • 13:30 - 14:30
Get Off My Thread: Techniques for Moving Work to Background Threads

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

Feedback form is now closed.
If you're writing a GUI application and you want the interface to feel "responsive" to the user then you need the code that response to UI events to be short and fast. Similarly, if you are handling network I/O you may not want the processing of one request to prevent the system receiving further input.

If the work to be done in response to an event is complex and time consuming then you can maintain the "responsiveness" of the system by passing the work off to a background thread.

This talk will look at the ways of doing this, including managing ongoing work, providing progress updates, and cancelling work if it is no longer needed.

Speakers
avatar for Anthony Williams

Anthony Williams

Just Software Solutions Ltd
Anthony Williams is the author of C++ Concurrency in Action.


Wednesday September 16, 2020 13:30 - 14:30 MDT
Embedded
  • Concurrent/Async/Parallel
  • Level Intermediate, Advanced, Expert
  • Tags concurrency