mirror of
https://github.com/boostorg/thread.git
synced 2026-01-20 17:12:13 +00:00
13 lines
193 B
C++
13 lines
193 B
C++
#include <boost/thread/thread.hpp>
|
|
#include <iostream>
|
|
|
|
void helloworld()
|
|
{
|
|
std::cout << "Hello World!" << std::endl;
|
|
}
|
|
|
|
int main()
|
|
{
|
|
boost::thread thrd(&helloworld);
|
|
thrd.join();
|
|
} |