~ubuntu-branches/ubuntu/oneiric/bombono-dvd/oneiric

« back to all changes in this revision

Viewing changes to libs/boost-lib/boost/detail/lightweight_mutex.hpp

  • Committer: Bazaar Package Importer
  • Author(s): Alessio Treglia
  • Date: 2010-11-04 11:46:25 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20101104114625-2tfaxma74eqggp5r
Tags: 0.8.0-0ubuntu1
* New upstream release (LP: #670193).
* Refresh 02_sparc.diff patch.
* Replace 05-boost_filesystem-link.patch with 05-fix_boost.patch, it fixes
  build failure with Boost <= 1.44.
* Bump Standards.

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
//
13
13
//  Copyright (c) 2002, 2003 Peter Dimov and Multi Media Ltd.
14
14
//
15
 
// Distributed under the Boost Software License, Version 1.0. (See
16
 
// accompanying file LICENSE_1_0.txt or copy at
17
 
// http://www.boost.org/LICENSE_1_0.txt)
18
 
//
19
 
//  typedef <unspecified> boost::detail::lightweight_mutex;
20
 
//
21
 
//  boost::detail::lightweight_mutex is a header-only implementation of
22
 
//  a subset of the Mutex concept requirements:
23
 
//
24
 
//  http://www.boost.org/doc/html/threads/concepts.html#threads.concepts.Mutex
25
 
//
26
 
//  It maps to a CRITICAL_SECTION on Windows or a pthread_mutex on POSIX.
27
 
//
28
 
 
29
 
#include <boost/config.hpp>
30
 
 
31
 
#if !defined(BOOST_HAS_THREADS)
32
 
# include <boost/detail/lwm_nop.hpp>
33
 
#elif defined(WIN32) || defined(_WIN32) || defined(__WIN32__)
34
 
#  include <boost/detail/lwm_win32_cs.hpp>
35
 
#elif defined(BOOST_HAS_PTHREADS)
36
 
#  include <boost/detail/lwm_pthreads.hpp>
37
 
#else
38
 
// Use #define BOOST_DISABLE_THREADS to avoid the error
39
 
#  error Unrecognized threading platform
40
 
#endif
 
15
//  Distributed under the Boost Software License, Version 1.0.
 
16
//  See accompanying file LICENSE_1_0.txt or copy at
 
17
//  http://www.boost.org/LICENSE_1_0.txt
 
18
//
 
19
 
 
20
#include <boost/smart_ptr/detail/lightweight_mutex.hpp>
41
21
 
42
22
#endif // #ifndef BOOST_DETAIL_LIGHTWEIGHT_MUTEX_HPP_INCLUDED