thread/test/test_12949.cpp
Austin Beer 1e84b978b2 Use CLOCK_MONOTONIC by default
- Eliminated BOOST_THREAD_HAS_CONDATTR_SET_CLOCK_MONOTONIC.
- CLOCK_MONOTONIC is now always used whenever it is available.
2017-10-26 08:07:49 -06:00

21 lines
428 B
C++

// Copyright (C) 2017 Vicente Botet
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#define BOOST_THREAD_VERSION 4
//#include <boost/thread/thread.hpp>
#include <boost/thread/condition_variable.hpp>
void f()
{
boost::this_thread::sleep_for(boost::chrono::milliseconds(10)); // **
}
int main()
{
return 0;
}