test_8508.cpp 383 B

1234567891011121314151617181920
  1. // Copyright (C) 2013 Vicente Botet
  2. //
  3. // Distributed under the Boost Software License, Version 1.0. (See accompanying
  4. // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  5. //#define BOOST_THREAD_VERSION 2
  6. #include <boost/thread/thread.hpp>
  7. void thread_main()
  8. {
  9. }
  10. int main(void)
  11. {
  12. boost::thread t(thread_main);
  13. t.join();
  14. return 0;
  15. }