vendredi 20 décembre 2019

c++ add object on shared queue and wait it consumption

I have an object that add an object to a shared queue. I want to have feedback of it consumption. Once this object is consummated, a feedback object should be returned.

I don't know if I have to use a std::future, a std::promise or something else

Aucun commentaire:

Enregistrer un commentaire