• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright (C) 2001-2003
2 // William E. Kempf
3 //
4 //  Distributed under the Boost Software License, Version 1.0. (See accompanying
5 //  file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 
7 #include <boost/thread/thread.hpp>
8 #include <iostream>
9 
helloworld()10 void helloworld()
11 {
12     std::cout << "Hello World!" << std::endl;
13 }
14 
main()15 int main()
16 {
17     boost::thread thrd(&helloworld);
18     thrd.join();
19 }
20