~ubuntu-branches/ubuntu/wily/ruby-passenger/wily-proposed

« back to all changes in this revision

Viewing changes to ext/boost/thread/thread_only.hpp

  • Committer: Package Import Robot
  • Author(s): Felix Geyer
  • Date: 2013-11-23 23:50:02 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20131123235002-8fdhsq7afj15o2z2
Tags: 4.0.25-1
* New upstream release.
* Refresh fix_install_path.patch.
* Build for Ruby 2.0 instead of 1.8. (Closes: #725591)
* Add fix_ftbfs_fortify_source.patch.
* Install passenger template files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef BOOST_THREAD_THREAD_ONLY_HPP
 
2
#define BOOST_THREAD_THREAD_ONLY_HPP
 
3
 
 
4
//  thread.hpp
 
5
//
 
6
//  (C) Copyright 2013 Vicente J. Botet Escriba
 
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)
 
11
 
 
12
#include <boost/thread/detail/platform.hpp>
 
13
 
 
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
 
21
 
 
22
#include <boost/thread/detail/thread.hpp>
 
23
#if defined BOOST_THREAD_PROVIDES_INTERRUPTIONS
 
24
#include <boost/thread/detail/thread_interruption.hpp>
 
25
#endif
 
26
#include <boost/thread/v2/thread.hpp>
 
27
 
 
28
 
 
29
#endif