What would be more efficient to use promise and future or call a function directly to add the results in a thread pool?
If I'm using a thread pool and one of my function is supposed to return some values, what would be more efficient to use promise and future or let the function write the result directly to the final container?
Aucun commentaire:
Enregistrer un commentaire