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 6 //#define BOOST_THREAD_VERSION 2 7 8 #include <boost/thread/thread.hpp> 9 thread_main()10void thread_main() 11 { 12 } 13 main(void)14int main(void) 15 { 16 boost::thread t(thread_main); 17 t.join(); 18 return 0; 19 } 20 21