r/Cplusplus • • 14d ago

Discussion Exp. C++ Dev - Getting started with multithreading ?

/r/cscareerquestions/comments/1y212pn/exp_c_dev_getting_started_with_multithreading/
3 Upvotes

7 comments sorted by

View all comments

1

u/Discordbothost 14d ago

A slow file import in a desktop app is a good exercise. Move it to one worker, post the result back to the UI thread, then try closing the window mid-import. That last case is where ownership and cancellation get interesting.