]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/thread/test/test_7666.cpp
1 // Copyright (C) 2010 Vicente Botet
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)
6 #define BOOST_CHRONO_VERSION 2
7 #define BOOST_THREAD_VERSION 2
9 #include <boost/thread/thread_only.hpp>
13 boost::this_thread::sleep(boost::posix_time::seconds(5));
16 int main(int, char **)
18 boost::thread
p(myFunc
);