Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

c++ create threads

#include <thread>
void foo() 
{
  // do stuff...
}
int main() 
{
  std::thread first (foo);
  first.join();
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #create #threads
ADD COMMENT
Topic
Name
2+6 =