fix doc example typo
[boost.git] / boost / thread / thread.hpp
blob6146132b773c3fe2a7a59e09d9549df9f9e9e72d
1 #ifndef BOOST_THREAD_THREAD_HPP
2 #define BOOST_THREAD_THREAD_HPP
4 // thread.hpp
5 //
6 // (C) Copyright 2007-8 Anthony Williams
7 //
8 // Distributed under the Boost Software License, Version 1.0. (See
9 // accompanying file LICENSE_1_0.txt or copy at
10 // http://www.boost.org/LICENSE_1_0.txt)
12 #include <boost/thread/detail/platform.hpp>
14 #if defined(BOOST_THREAD_PLATFORM_WIN32)
15 #include <boost/thread/win32/thread_data.hpp>
16 #elif defined(BOOST_THREAD_PLATFORM_PTHREAD)
17 #include <boost/thread/pthread/thread_data.hpp>
18 #else
19 #error "Boost threads unavailable on this platform"
20 #endif
22 #include <boost/thread/detail/thread.hpp>
25 #endif