1 // Copyright (C) 2010 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_only.hpp> 9 run_thread()10void run_thread() { 11 return; 12 } 13 main()14int main() { 15 boost::thread t(&run_thread); 16 return 0; 17 } 18 19