code_junkie

Concurrent programming c++?

Nov 11th, 2011
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.11 KB | None | 0 0
  1. void my_function()
  2. {
  3. // do stuff
  4. }
  5. std::thread my_thread(my_function); // run my_function in its own thread
Add Comment
Please, Sign In to add comment