how do you run a function in a diffrent thread with c++, explain how it works aswell so…
- User
how do you run a function in a diffrent thread with c++, explain how it works aswell so i understand
- Assistant
In C++, you can run a function in a different thread using either the
std::threadorstd::asyncutilities.- :