• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1//  (C) Copyright Beman Dawes 2009
2
3//  Use, modification and distribution are subject to the
4//  Boost Software License, Version 1.0. (See accompanying file
5//  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6
7//  See http://www.boost.org/libs/config for more information.
8
9//  MACRO:         BOOST_NO_CXX11_HDR_THREAD
10//  TITLE:         C++0x header <thread> unavailable
11//  DESCRIPTION:   The standard library does not supply C++0x header <thread>
12
13#include <thread>
14
15namespace boost_no_cxx11_hdr_thread {
16
17int test()
18{
19  using std::thread;
20  using std::this_thread::get_id;
21  using std::this_thread::yield;
22  using std::this_thread::sleep_until;
23  using std::this_thread::sleep_for;
24  return 0;
25}
26
27}
28