2
0
mirror of https://github.com/boostorg/thread.git synced 2026-01-21 05:22:15 +00:00
Files
thread/test/test_12949.cpp
Vicente J. Botet Escriba da83662e1a added test for 12949.
2017-04-29 16:11:31 +02:00

22 lines
484 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
//#define BOOST_THREAD_HAS_CONDATTR_SET_CLOCK_MONOTONIC
//#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;
}