std:.async feels like an asynchronous function call. Under the hood std::async is a task. One, which is extremely easy to use.
Tasks were one of the latest additions to the C++11 standard. They give you a better abstraction than threads. In the general case, they should be your first choice.
Currently are 132 guests and no members online
Kubik-Rubik Joomla! Extensions