Files
concurrency-in-action/ch1/hello.cpp
2014-04-22 21:57:19 -04:00

19 lines
245 B
C++

#include <iostream>
#include <thread>
void hello()
{
std::cout << "Hello Concurrent World\n";
}
int main()
{
//boost::thread t([]()
std::thread t([]()
{
std::cout << "Hello Concurrent World\n";
});
t.join();
}