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 | |
6 | #define BOOST_THREAD_VERSION 4 |
7 | |
8 | //#include <boost/thread/thread.hpp> |
9 | #include <boost/thread/condition_variable.hpp> |
10 | |
11 | void f() |
12 | { |
13 | boost::this_thread::sleep_for(d: boost::chrono::milliseconds(10)); // ** |
14 | } |
15 | int main() |
16 | { |
17 | |
18 | return 0; |
19 | } |
20 | |
21 |