test_12949.cpp 428 B

1234567891011121314151617181920
  1. // Copyright (C) 2017 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 4
  6. //#include <boost/thread/thread.hpp>
  7. #include <boost/thread/condition_variable.hpp>
  8. void f()
  9. {
  10. boost::this_thread::sleep_for(boost::chrono::milliseconds(10)); // **
  11. }
  12. int main()
  13. {
  14. return 0;
  15. }