Worker thread, start, stop, terminate

Markus Freitag 3,791 Reputation points
2022-09-10T16:22:29.047+00:00

Hello,
I am not so familiar with C++.
What do I need?

I need a worker thread under C++.
Class View invokes a worker thread.
The thread changes members and so on.
How can I access the changed members from the class?
Do you have a good concise example? Just a pattern how to do it.

Thanks in advance for your help!

C++, MFC, VS2017

Developer technologies | C++
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.