jeudi 25 janvier 2018

How to communicate between classes in different threads in Visual C++? [on hold]

In QT:C++ we used "signals and slots" to communicate between classes in different threads.
How do you make that communication possible in Visual C++? It does not have to be "signals and slots"... just an approach... function pointers? how?

Let me add... I want to use only what comes with VS... NO Boost libraries! We are trying to pull Boost out of our stuff.


If it matters, I am using std::thread.


Edit: c++11 ? I heard has something for class/thread communication... not sure where to look?

Aucun commentaire:

Enregistrer un commentaire