We are committed to provide service 24 X 7

Deals, Shopping, Training, Tools

Tag: C++11 Multithreading – Part 8: std::future

C++11 Multithreading – Part 8: std::future , std::promise and Returning values from Thread

std::promise and std::future

A std::future object can be used with asych, std::packaged_task and std::promise. In this article will mainly focus on using std::future with std::promise object. Many times we encounter a situation where we want a thread to return a result. Advertisements Now question is how to do this? Lets take an example, Frequently Asked: C++11 Multithreading – …

C++11 Multithreading – Part 8: std::future , std::promise and Returning values from ThreadRead More

13
1.317.185,30