|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r51216 - in sandbox/synchro/boost/synchro: . conc detail dsl iccl lockers poly process queues thread
From: vicente.botet_at_[hidden]
Date: 2009-02-12 08:12:46
Author: viboes
Date: 2009-02-12 08:12:37 EST (Thu, 12 Feb 2009)
New Revision: 51216
URL: http://svn.boost.org/trac/boost/changeset/51216
Log:
Boost.Synchro V0.0.0
Added:
sandbox/synchro/boost/synchro/lockable_adapter.hpp
- copied, changed from r51210, /sandbox/synchro/boost/synchro/make_lockable.hpp
Removed:
sandbox/synchro/boost/synchro/make_lockable.hpp
Text files modified:
sandbox/synchro/boost/synchro/conc/conc_tuple.hpp | 8 +++---
sandbox/synchro/boost/synchro/conc/concurrent_component.hpp | 26 +++++++++++++------
sandbox/synchro/boost/synchro/detail/defaulted_functions.hpp | 2
sandbox/synchro/boost/synchro/detail/deleted_functions.hpp | 2
sandbox/synchro/boost/synchro/detail/non_alias.hpp | 2
sandbox/synchro/boost/synchro/detail/non_heap_allocated.hpp | 2
sandbox/synchro/boost/synchro/dsl/error_handling.hpp | 2
sandbox/synchro/boost/synchro/dsl/thread_model.hpp | 5 +--
sandbox/synchro/boost/synchro/iccl/thread_locking_traits.hpp | 10 +++---
sandbox/synchro/boost/synchro/lock_generator.hpp | 32 ++++++++++++------------
sandbox/synchro/boost/synchro/lockable_adapter.hpp | 52 ++++++++++++++++++++--------------------
sandbox/synchro/boost/synchro/lockable_concepts.hpp | 4 +-
sandbox/synchro/boost/synchro/lockable_scope_traits.hpp | 2
sandbox/synchro/boost/synchro/lockable_traits.hpp | 6 ++--
sandbox/synchro/boost/synchro/locker_concepts.hpp | 4 +-
sandbox/synchro/boost/synchro/lockers/condition_locker.hpp | 4 +-
sandbox/synchro/boost/synchro/lockers/externally_locked.hpp | 18 ++++++------
sandbox/synchro/boost/synchro/lockers/is_strict_locker.hpp | 4 +-
sandbox/synchro/boost/synchro/lockers/locking_ptr.hpp | 6 ++--
sandbox/synchro/boost/synchro/lockers/on_dereference_locking_ptr.hpp | 4 +-
sandbox/synchro/boost/synchro/lockers/priority_write.hpp | 4 +-
sandbox/synchro/boost/synchro/lockers/reverse_lock.hpp | 13 ++++-----
sandbox/synchro/boost/synchro/lockers/strict_locker.hpp | 22 ++++++++--------
sandbox/synchro/boost/synchro/monitor.hpp | 24 +++++++++---------
sandbox/synchro/boost/synchro/null_condition.hpp | 2
sandbox/synchro/boost/synchro/null_mutex.hpp | 4 +-
sandbox/synchro/boost/synchro/null_synchronization_family.hpp | 6 ++--
sandbox/synchro/boost/synchro/poly/adaptive_lock.hpp | 2
sandbox/synchro/boost/synchro/poly/lock.hpp | 2
sandbox/synchro/boost/synchro/poly/lock_adapter.hpp | 2
sandbox/synchro/boost/synchro/process/lockable_scope_traits.hpp | 4 +-
sandbox/synchro/boost/synchro/process/locks.hpp | 4 +-
sandbox/synchro/boost/synchro/process/mutex.hpp | 2
sandbox/synchro/boost/synchro/process/named_mutex.hpp | 2
sandbox/synchro/boost/synchro/process/named_recursive_mutex.hpp | 2
sandbox/synchro/boost/synchro/process/named_upgradable_mutex.hpp | 2
sandbox/synchro/boost/synchro/process/recursive_mutex.hpp | 2
sandbox/synchro/boost/synchro/process/upgradable_mutex.hpp | 2
sandbox/synchro/boost/synchro/process_synchronization_family.hpp | 10 +++---
sandbox/synchro/boost/synchro/queues/synchro_buffer_family.hpp | 2
sandbox/synchro/boost/synchro/queues/synchro_buffer_monitor.hpp | 11 +------
sandbox/synchro/boost/synchro/semaphore.hpp | 9 ++----
sandbox/synchro/boost/synchro/syntactic_lock_traits.hpp | 6 ++--
sandbox/synchro/boost/synchro/thread/lockable_scope_traits.hpp | 2
sandbox/synchro/boost/synchro/thread/locks.hpp | 2
sandbox/synchro/boost/synchro/thread/mutex.hpp | 4 +-
sandbox/synchro/boost/synchro/thread/recursive_mutex.hpp | 2
sandbox/synchro/boost/synchro/thread/shared_mutex.hpp | 2
48 files changed, 171 insertions(+), 175 deletions(-)
Modified: sandbox/synchro/boost/synchro/conc/conc_tuple.hpp
==============================================================================
--- sandbox/synchro/boost/synchro/conc/conc_tuple.hpp (original)
+++ sandbox/synchro/boost/synchro/conc/conc_tuple.hpp 2009-02-12 08:12:37 EST (Thu, 12 Feb 2009)
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Vicente J. Botet Escriba 2008. Distributed under the Boost
+// (C) Copyright Vicente J. Botet Escriba 2008-2009. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
@@ -11,9 +11,9 @@
#ifndef BOOST_SYNCHRO_CONC_TUPLE__HPP
#define BOOST_SYNCHRO_CONC_TUPLE__HPP
-#include "boost/thread.hpp"
-#include "boost/ref.hpp"
-#include "boost/bind.hpp"
+#include <boost/thread.hpp>
+#include <boost/ref.hpp>
+#include <boost/bind.hpp>
namespace boost { namespace synchro {
struct none{};
Modified: sandbox/synchro/boost/synchro/conc/concurrent_component.hpp
==============================================================================
--- sandbox/synchro/boost/synchro/conc/concurrent_component.hpp (original)
+++ sandbox/synchro/boost/synchro/conc/concurrent_component.hpp 2009-02-12 08:12:37 EST (Thu, 12 Feb 2009)
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Vicente J. Botet Escriba 2008. Distributed under the Boost
+// (C) Copyright Vicente J. Botet Escriba 2008-2009. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
@@ -11,15 +11,10 @@
#ifndef BOOST_SYNCHRO_CONC_SYSTEM__HPP
#define BOOST_SYNCHRO_CONC_SYSTEM__HPP
-//#include "boost/synchro/lockers/is_strict_locker.hpp"
-//#include "boost/synchro/lockers/strict_locker.hpp"
-//#include "boost/synchro/syntactic_lock_traits.hpp"
-//#include "boost/synchro/lock_traits.hpp"
-//#include "boost/static_assert.hpp"
-//#include "boost/type_traits/is_same.hpp"
-//#include "boost/synchro/lock_concepts.hpp"
-//#include <boost/synchro/thread/mutex.hpp>
#include <boost/synchro/semaphore.hpp>
+#include <boost/interthreads/fork.hpp>
+#include <boost/bind.hpp>
+#include <boost/ref.hpp>
#include <typeinfo>
namespace boost { namespace synchro {
@@ -283,5 +278,18 @@
//]
#endif
}
+#if 0
+namespace interthreads {
+namespace partial_specialization_workaround {
+template< typename AE, typename CC >
+struct fork<AE,CC&> {
+ static typename result_of::fork<AE,CC>::type
+ apply(AE& ae, CC& cc ) {
+ return ae.fork(boost::bind(boost::ref(cc)));
+ }
+};
+}
+}
+#endif
}
#endif
Modified: sandbox/synchro/boost/synchro/detail/defaulted_functions.hpp
==============================================================================
--- sandbox/synchro/boost/synchro/detail/defaulted_functions.hpp (original)
+++ sandbox/synchro/boost/synchro/detail/defaulted_functions.hpp 2009-02-12 08:12:37 EST (Thu, 12 Feb 2009)
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Vicente J. Botet Escriba 2008.
+// (C) Copyright Vicente J. Botet Escriba 2008-2009.
// Distributed under the Boost Software License,
// Version 1.0. (See accompanying file LICENSE_1_0.txt
// or copy at http://www.boost.org/LICENSE_1_0.txt)
Modified: sandbox/synchro/boost/synchro/detail/deleted_functions.hpp
==============================================================================
--- sandbox/synchro/boost/synchro/detail/deleted_functions.hpp (original)
+++ sandbox/synchro/boost/synchro/detail/deleted_functions.hpp 2009-02-12 08:12:37 EST (Thu, 12 Feb 2009)
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Vicente J. Botet Escriba 2008.
+// (C) Copyright Vicente J. Botet Escriba 2008-2009.
// Distributed under the Boost Software License,
// Version 1.0. (See accompanying file LICENSE_1_0.txt
// or copy at http://www.boost.org/LICENSE_1_0.txt)
Modified: sandbox/synchro/boost/synchro/detail/non_alias.hpp
==============================================================================
--- sandbox/synchro/boost/synchro/detail/non_alias.hpp (original)
+++ sandbox/synchro/boost/synchro/detail/non_alias.hpp 2009-02-12 08:12:37 EST (Thu, 12 Feb 2009)
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Vicente J. Botet Escriba 2008. Distributed under the Boost
+// (C) Copyright Vicente J. Botet Escriba 2008-2009. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
Modified: sandbox/synchro/boost/synchro/detail/non_heap_allocated.hpp
==============================================================================
--- sandbox/synchro/boost/synchro/detail/non_heap_allocated.hpp (original)
+++ sandbox/synchro/boost/synchro/detail/non_heap_allocated.hpp 2009-02-12 08:12:37 EST (Thu, 12 Feb 2009)
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Vicente J. Botet Escriba 2008. Distributed under the Boost
+// (C) Copyright Vicente J. Botet Escriba 2008-2009. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
Modified: sandbox/synchro/boost/synchro/dsl/error_handling.hpp
==============================================================================
--- sandbox/synchro/boost/synchro/dsl/error_handling.hpp (original)
+++ sandbox/synchro/boost/synchro/dsl/error_handling.hpp 2009-02-12 08:12:37 EST (Thu, 12 Feb 2009)
@@ -1,4 +1,4 @@
-/* Copyright 2008 Vicente J. Botet Escriba
+/* Copyright 2008-2009 Vicente J. Botet Escriba
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE_1_0.txt or copy at
* http://www.boost.org/LICENSE_1_0.txt)
Modified: sandbox/synchro/boost/synchro/dsl/thread_model.hpp
==============================================================================
--- sandbox/synchro/boost/synchro/dsl/thread_model.hpp (original)
+++ sandbox/synchro/boost/synchro/dsl/thread_model.hpp 2009-02-12 08:12:37 EST (Thu, 12 Feb 2009)
@@ -1,4 +1,4 @@
-/* Copyright 2008 Vicente J. Botet Escriba
+/* Copyright 2008-2009 Vicente J. Botet Escriba
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE_1_0.txt or copy at
* http://www.boost.org/LICENSE_1_0.txt)
@@ -11,8 +11,7 @@
#include <boost/detail/is_xxx.hpp>
#include <boost/parameter/aux_/void.hpp>
-#include "boost/iccl/thread_locking_traits.hpp"
-//#include "boost/iccl/process_locking_traits.hpp"
+#include <boost/iccl/thread_locking_traits.hpp>
/* DSL:
*
Modified: sandbox/synchro/boost/synchro/iccl/thread_locking_traits.hpp
==============================================================================
--- sandbox/synchro/boost/synchro/iccl/thread_locking_traits.hpp (original)
+++ sandbox/synchro/boost/synchro/iccl/thread_locking_traits.hpp 2009-02-12 08:12:37 EST (Thu, 12 Feb 2009)
@@ -1,4 +1,4 @@
-/* Copyright 2008 Vicente J. Botet Escriba
+/* Copyright 2008-2009 Vicente J. Botet Escriba
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE_1_0.txt or copy at
* http://www.boost.org/LICENSE_1_0.txt)
@@ -9,10 +9,10 @@
#ifndef BOOST_ICCL_THREAD_LOCKING_TRAITS_HPP_
#define BOOST_ICCL_THREAD_LOCKING_TRAITS_HPP_
-#include "boost/thread/mutex.hpp"
-#include "boost/thread/locks.hpp"
-#include "boost/interprocess/sync/interprocess_mutex.hpp"
-#include "boost/interprocess/sync/scoped_lock.hpp"
+#include <boost/thread/mutex.hpp>
+#include <boost/thread/locks.hpp>
+#include <boost/interprocess/sync/interprocess_mutex.hpp>
+#include <boost/interprocess/sync/scoped_lock.hpp>
namespace boost {
namespace iccl {
Modified: sandbox/synchro/boost/synchro/lock_generator.hpp
==============================================================================
--- sandbox/synchro/boost/synchro/lock_generator.hpp (original)
+++ sandbox/synchro/boost/synchro/lock_generator.hpp 2009-02-12 08:12:37 EST (Thu, 12 Feb 2009)
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Vicente J. Botet Escriba 2008. Distributed under the Boost
+// (C) Copyright Vicente J. Botet Escriba 2008-2009. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
@@ -11,16 +11,16 @@
#ifndef BOOST_SYNCHRO_LOCK_GENERATOR__HPP
#define BOOST_SYNCHRO_LOCK_GENERATOR__HPP
-#include "boost/synchro/lock_traits.hpp"
-#include "boost/synchro/null/mutex.hpp"
-#include "boost/synchro/thread/mutex.hpp"
-#include "boost/synchro/thread/recursive_mutex.hpp"
-#include "boost/synchro/thread/shared_mutex.hpp"
-#include "boost/synchro/process/mutex.hpp"
-#include "boost/synchro/process/recursive_mutex.hpp"
-#include "boost/synchro/process/upgradable_mutex.hpp"
-#include "boost/mpl/and.hpp"
-#include "boost/type_traits.hpp"
+#include <boost/synchro/lock_traits.hpp>
+#include <boost/synchro/null/mutex.hpp>
+#include <boost/synchro/thread/mutex.hpp>
+#include <boost/synchro/thread/recursive_mutex.hpp>
+#include <boost/synchro/thread/shared_mutex.hpp>
+#include <boost/synchro/process/mutex.hpp>
+#include <boost/synchro/process/recursive_mutex.hpp>
+#include <boost/synchro/process/upgradable_mutex.hpp>
+#include <boost/mpl/and.hpp>
+#include <boost/type_traits.hpp>
namespace boost {
namespace synchro {
@@ -116,7 +116,7 @@
process_lifetime_tag,
anonymous_tag
> {
- typedef boost::mutex type;
+ typedef boost::synchro::thread_mutex type;
};
template<>
@@ -128,7 +128,7 @@
process_lifetime_tag,
anonymous_tag
> {
- typedef boost::recursive_mutex type;
+ typedef boost::synchro::thread_recursive_mutex type;
};
template<>
@@ -140,7 +140,7 @@
process_lifetime_tag,
anonymous_tag
> {
- typedef boost::timed_mutex type;
+ typedef boost::synchro::thread_timed_mutex type;
};
template<>
@@ -152,7 +152,7 @@
process_lifetime_tag,
anonymous_tag
> {
- typedef boost::recursive_timed_mutex type;
+ typedef boost::synchro::thread_recursive_timed_mutex type;
};
template <
@@ -167,7 +167,7 @@
process_lifetime_tag,
anonymous_tag
> {
- typedef boost::shared_mutex type;
+ typedef boost::synchro::thread_shared_mutex type;
};
//////////////////////////
Copied: sandbox/synchro/boost/synchro/lockable_adapter.hpp (from r51210, /sandbox/synchro/boost/synchro/make_lockable.hpp)
==============================================================================
--- /sandbox/synchro/boost/synchro/make_lockable.hpp (original)
+++ sandbox/synchro/boost/synchro/lockable_adapter.hpp 2009-02-12 08:12:37 EST (Thu, 12 Feb 2009)
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Vicente J. Botet Escriba 2008. Distributed under the Boost
+// (C) Copyright Vicente J. Botet Escriba 2008-2009. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
@@ -8,18 +8,18 @@
//
//////////////////////////////////////////////////////////////////////////////
-#ifndef BOOST_SYNCHRO_MAKE_LOCKABLE__HPP
-#define BOOST_SYNCHRO_MAKE_LOCKABLE__HPP
+#ifndef BOOST_SYNCHRO_LOCKABLE_ADAPTER__HPP
+#define BOOST_SYNCHRO_LOCKABLE_ADAPTER__HPP
#include <boost/synchro/lockable_traits.hpp>
-#include "boost/noncopyable.hpp"
-#include "boost/thread/thread_time.hpp"
+#include <boost/noncopyable.hpp>
+#include <boost/thread/thread_time.hpp>
namespace boost { namespace synchro {
-//[make_exclusive_lockable
+//[exclusive_lockable_adapter
template <typename Lockable>
-class make_exclusive_lockable : private boost::noncopyable
+class exclusive_lockable_adapter : private boost::noncopyable
{
public:
typedef Lockable lockable_type;
@@ -41,10 +41,10 @@
};
//]
-//[make_timed_lockable
+//[timed_lockable_adapter
template <typename TimedLock>
-class make_timed_lockable
- : public make_exclusive_lockable<TimedLock>
+class timed_lockable_adapter
+ : public exclusive_lockable_adapter<TimedLock>
{
public:
typedef TimedLock lockable_base_type;
@@ -59,10 +59,10 @@
};
//]
-//[make_share_lockable
+//[shared_lockable_adapter
template <typename SharableLock>
-class make_share_lockable
- : public make_timed_lockable<SharableLock>
+class shared_lockable_adapter
+ : public timed_lockable_adapter<SharableLock>
{
public:
typedef SharableLock lockable_base_type;
@@ -81,10 +81,10 @@
};
//]
-//[make_upgrade_lockable
+//[upgrade_lockable_adapter
template <typename UpgradableLock>
-class make_upgrade_lockable
- : public make_share_lockable<UpgradableLock>
+class upgrade_lockable_adapter
+ : public shared_lockable_adapter<UpgradableLock>
{
public:
typedef UpgradableLock lockable_base_type;
@@ -112,31 +112,31 @@
//]
-//[make_lockable
+//[lockable_adapter
template <
typename Lockable
, typename category=typename category_tag<Lockable>::type
, typename timed_interface=typename timed_interface_tag<Lockable>::type
-> struct make_lockable;
+> struct lockable_adapter;
template <typename Lockable>
-struct make_lockable<Lockable, exclusive_lock_tag, hasnt_timed_interface_tag>
- : protected make_exclusive_lockable<Lockable>
+struct lockable_adapter<Lockable, exclusive_lock_tag, hasnt_timed_interface_tag>
+ : protected exclusive_lockable_adapter<Lockable>
{};
template <typename Lockable>
-struct make_lockable<Lockable, exclusive_lock_tag, has_timed_interface_tag>
- : protected make_timed_lockable<Lockable>
+struct lockable_adapter<Lockable, exclusive_lock_tag, has_timed_interface_tag>
+ : protected timed_lockable_adapter<Lockable>
{};
template <typename Lockable, typename timed_interface>
-struct make_lockable<Lockable, sharable_lock_tag, timed_interface>
- : protected make_share_lockable<Lockable>
+struct lockable_adapter<Lockable, sharable_lock_tag, timed_interface>
+ : protected shared_lockable_adapter<Lockable>
{};
template <typename Lockable, typename timed_interface>
-struct make_lockable<Lockable, upgradable_lock_tag, timed_interface>
- : protected make_upgrade_lockable<Lockable>
+struct lockable_adapter<Lockable, upgradable_lock_tag, timed_interface>
+ : protected upgrade_lockable_adapter<Lockable>
{};
//]
Modified: sandbox/synchro/boost/synchro/lockable_concepts.hpp
==============================================================================
--- sandbox/synchro/boost/synchro/lockable_concepts.hpp (original)
+++ sandbox/synchro/boost/synchro/lockable_concepts.hpp 2009-02-12 08:12:37 EST (Thu, 12 Feb 2009)
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Vicente J. Botet Escriba 2008. Distributed under the Boost
+// (C) Copyright Vicente J. Botet Escriba 2008-2009. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
@@ -11,7 +11,7 @@
#ifndef BOOST_SYNCHRO_LOCKABLE_CONCEPTS_HPP
#define BOOST_SYNCHRO_LOCKABLE_CONCEPTS_HPP
-#include "boost/synchro/lockable_traits.hpp"
+#include <boost/synchro/lockable_traits.hpp>
#include <boost/date_time/posix_time/ptime.hpp>
#include <boost/thread/thread_time.hpp>
#include <boost/concept_check.hpp>
Modified: sandbox/synchro/boost/synchro/lockable_scope_traits.hpp
==============================================================================
--- sandbox/synchro/boost/synchro/lockable_scope_traits.hpp (original)
+++ sandbox/synchro/boost/synchro/lockable_scope_traits.hpp 2009-02-12 08:12:37 EST (Thu, 12 Feb 2009)
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Vicente J. Botet Escriba 2008. Distributed under the Boost
+// (C) Copyright Vicente J. Botet Escriba 2008-2009. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
Modified: sandbox/synchro/boost/synchro/lockable_traits.hpp
==============================================================================
--- sandbox/synchro/boost/synchro/lockable_traits.hpp (original)
+++ sandbox/synchro/boost/synchro/lockable_traits.hpp 2009-02-12 08:12:37 EST (Thu, 12 Feb 2009)
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Vicente J. Botet Escriba 2008. Distributed under the Boost
+// (C) Copyright Vicente J. Botet Escriba 2008-2009. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
@@ -11,8 +11,8 @@
#ifndef BOOST_SYNCHRO_LOCKABLE_TRAITS__HPP
#define BOOST_SYNCHRO_LOCKABLE_TRAITS__HPP
-#include "boost/type_traits.hpp"
-#include "boost/mpl/or.hpp"
+#include <boost/type_traits.hpp>
+#include <boost/mpl/or.hpp>
#include <boost/synchro/lockable_scope_traits.hpp>
namespace boost { namespace synchro {
Modified: sandbox/synchro/boost/synchro/locker_concepts.hpp
==============================================================================
--- sandbox/synchro/boost/synchro/locker_concepts.hpp (original)
+++ sandbox/synchro/boost/synchro/locker_concepts.hpp 2009-02-12 08:12:37 EST (Thu, 12 Feb 2009)
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Vicente J. Botet Escriba 2008. Distributed under the Boost
+// (C) Copyright Vicente J. Botet Escriba 2008-2009. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
@@ -11,7 +11,7 @@
#ifndef BOOST_SYNCHRO_LOCKER_CONCEPTS_HPP
#define BOOST_SYNCHRO_LOCKER_CONCEPTS_HPP
-#include "boost/synchro/lockable_traits.hpp"
+#include <boost/synchro/lockable_traits.hpp>
#include <boost/date_time/posix_time/ptime.hpp>
#include <boost/concept_check.hpp>
namespace boost { namespace synchro {
Modified: sandbox/synchro/boost/synchro/lockers/condition_locker.hpp
==============================================================================
--- sandbox/synchro/boost/synchro/lockers/condition_locker.hpp (original)
+++ sandbox/synchro/boost/synchro/lockers/condition_locker.hpp 2009-02-12 08:12:37 EST (Thu, 12 Feb 2009)
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Vicente J. Botet Escriba 2008. Distributed under the Boost
+// (C) Copyright Vicente J. Botet Escriba 2008-2009. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
@@ -13,7 +13,7 @@
#include <boost/synchro/lockable_concepts.hpp>
#include <boost/thread/condition.hpp>
-#include "boost/synchro/thread/mutex.hpp"
+#include <boost/synchro/thread/mutex.hpp>
namespace boost { namespace synchro {
Modified: sandbox/synchro/boost/synchro/lockers/externally_locked.hpp
==============================================================================
--- sandbox/synchro/boost/synchro/lockers/externally_locked.hpp (original)
+++ sandbox/synchro/boost/synchro/lockers/externally_locked.hpp 2009-02-12 08:12:37 EST (Thu, 12 Feb 2009)
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Vicente J. Botet Escriba 2008. Distributed under the Boost
+// (C) Copyright Vicente J. Botet Escriba 2008-2009. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
@@ -11,14 +11,14 @@
#ifndef BOOST_SYNCHRO_EXTERNALLY_LOCKED__HPP
#define BOOST_SYNCHRO_EXTERNALLY_LOCKED__HPP
-#include "boost/synchro/lockers/is_strict_locker.hpp"
-#include "boost/synchro/lockers/strict_locker.hpp"
-#include "boost/synchro/syntactic_lock_traits.hpp"
-#include "boost/synchro/lockable_traits.hpp"
-#include "boost/static_assert.hpp"
-#include "boost/type_traits/is_same.hpp"
-#include "boost/synchro/lockable_concepts.hpp"
-#include "boost/thread/exceptions.hpp"
+#include <boost/synchro/lockers/is_strict_locker.hpp>
+#include <boost/synchro/lockers/strict_locker.hpp>
+#include <boost/synchro/syntactic_lock_traits.hpp>
+#include <boost/synchro/lockable_traits.hpp>
+#include <boost/static_assert.hpp>
+#include <boost/type_traits/is_same.hpp>
+#include <boost/synchro/lockable_concepts.hpp>
+#include <boost/thread/exceptions.hpp>
namespace boost { namespace synchro {
Modified: sandbox/synchro/boost/synchro/lockers/is_strict_locker.hpp
==============================================================================
--- sandbox/synchro/boost/synchro/lockers/is_strict_locker.hpp (original)
+++ sandbox/synchro/boost/synchro/lockers/is_strict_locker.hpp 2009-02-12 08:12:37 EST (Thu, 12 Feb 2009)
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Vicente J. Botet Escriba 2008. Distributed under the Boost
+// (C) Copyright Vicente J. Botet Escriba 2008-2009. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
@@ -11,7 +11,7 @@
#ifndef BOOST_SYNCHRO_IS_STRICT_LOCKER__HPP
#define BOOST_SYNCHRO_IS_STRICT_LOCKER__HPP
-#include "boost/mpl/bool.hpp"
+#include <boost/mpl/bool.hpp>
namespace boost { namespace synchro {
Modified: sandbox/synchro/boost/synchro/lockers/locking_ptr.hpp
==============================================================================
--- sandbox/synchro/boost/synchro/lockers/locking_ptr.hpp (original)
+++ sandbox/synchro/boost/synchro/lockers/locking_ptr.hpp 2009-02-12 08:12:37 EST (Thu, 12 Feb 2009)
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Vicente J. Botet Escriba 2008. Distributed under the Boost
+// (C) Copyright Vicente J. Botet Escriba 2008-2009. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
@@ -11,8 +11,8 @@
#ifndef BOOST_SYNCHRO_LOCKING_PTR__HPP
#define BOOST_SYNCHRO_LOCKING_PTR__HPP
-#include "boost/noncopyable.hpp"
-#include "boost/thread/mutex.hpp"
+#include <boost/noncopyable.hpp>
+#include <boost/thread/mutex.hpp>
namespace boost { namespace synchro {
/**
Modified: sandbox/synchro/boost/synchro/lockers/on_dereference_locking_ptr.hpp
==============================================================================
--- sandbox/synchro/boost/synchro/lockers/on_dereference_locking_ptr.hpp (original)
+++ sandbox/synchro/boost/synchro/lockers/on_dereference_locking_ptr.hpp 2009-02-12 08:12:37 EST (Thu, 12 Feb 2009)
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Vicente J. Botet Escriba 2008. Distributed under the Boost
+// (C) Copyright Vicente J. Botet Escriba 2008-2009. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
@@ -11,7 +11,7 @@
#ifndef BOOST_SYNCHRO_ON_DEREFERENCE_LOCKING_PTR__HPP
#define BOOST_SYNCHRO_ON_DEREFERENCE_LOCKING_PTR__HPP
-#include "boost/noncopyable.hpp"
+#include <boost/noncopyable.hpp>
namespace boost { namespace synchro {
Modified: sandbox/synchro/boost/synchro/lockers/priority_write.hpp
==============================================================================
--- sandbox/synchro/boost/synchro/lockers/priority_write.hpp (original)
+++ sandbox/synchro/boost/synchro/lockers/priority_write.hpp 2009-02-12 08:12:37 EST (Thu, 12 Feb 2009)
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Vicente J. Botet Escriba 2008. Distributed under the Boost
+// (C) Copyright Vicente J. Botet Escriba 2008-2009. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
@@ -13,7 +13,7 @@
#include <boost/synchro/lockable_concepts.hpp>
#include <boost/thread/condition.hpp>
-#include "boost/synchro/thread/mutex.hpp"
+#include <boost/synchro/thread/mutex.hpp>
namespace boost { namespace synchro {
Modified: sandbox/synchro/boost/synchro/lockers/reverse_lock.hpp
==============================================================================
--- sandbox/synchro/boost/synchro/lockers/reverse_lock.hpp (original)
+++ sandbox/synchro/boost/synchro/lockers/reverse_lock.hpp 2009-02-12 08:12:37 EST (Thu, 12 Feb 2009)
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Vicente J. Botet Escriba 2008. Distributed under the Boost
+// (C) Copyright Vicente J. Botet Escriba 2008-2009. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
@@ -11,12 +11,11 @@
#ifndef BOOST_SYNCHRO_IS_STRICT_LOCKER__HPP
#define BOOST_SYNCHRO_IS_STRICT_LOCKER__HPP
-#include "boost/mpl/bool.hpp"
-#include "boost/noncopyable.hpp"
-#include "boost/concept_check.hpp"
-#include "boost/synchro/lockable_traits.hpp"
-#include "boost/synchro/locker_concepts.hpp"
-//#include "boost/synchro/syntactic_lock_traits.hpp"
+#include <boost/mpl/bool.hpp>
+#include <boost/noncopyable.hpp>
+#include <boost/concept_check.hpp>
+#include <boost/synchro/lockable_traits.hpp>
+#include <boost/synchro/locker_concepts.hpp>
namespace boost { namespace synchro {
Modified: sandbox/synchro/boost/synchro/lockers/strict_locker.hpp
==============================================================================
--- sandbox/synchro/boost/synchro/lockers/strict_locker.hpp (original)
+++ sandbox/synchro/boost/synchro/lockers/strict_locker.hpp 2009-02-12 08:12:37 EST (Thu, 12 Feb 2009)
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Vicente J. Botet Escriba 2008. Distributed under the Boost
+// (C) Copyright Vicente J. Botet Escriba 2008-2009. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
@@ -11,16 +11,16 @@
#ifndef BOOST_SYNCHRO_STRICT_LOCKER__HPP
#define BOOST_SYNCHRO_STRICT_LOCKER__HPP
-#include "boost/assert.hpp"
-#include "boost/concept_check.hpp"
-#include "boost/synchro/detail/deleted_functions.hpp"
-#include "boost/mpl/bool.hpp"
-#include "boost/synchro/lockers/is_strict_locker.hpp"
-#include "boost/synchro/syntactic_lock_traits.hpp"
-#include "boost/synchro/lockable_traits.hpp"
-#include "boost/synchro/lockable_concepts.hpp"
-#include "boost/synchro/locker_concepts.hpp"
-#include "boost/thread/exceptions.hpp"
+#include <boost/assert.hpp>
+#include <boost/concept_check.hpp>
+#include <boost/synchro/detail/deleted_functions.hpp>
+#include <boost/mpl/bool.hpp>
+#include <boost/synchro/lockers/is_strict_locker.hpp>
+#include <boost/synchro/syntactic_lock_traits.hpp>
+#include <boost/synchro/lockable_traits.hpp>
+#include <boost/synchro/lockable_concepts.hpp>
+#include <boost/synchro/locker_concepts.hpp>
+#include <boost/thread/exceptions.hpp>
namespace boost { namespace synchro {
Deleted: sandbox/synchro/boost/synchro/make_lockable.hpp
==============================================================================
--- sandbox/synchro/boost/synchro/make_lockable.hpp 2009-02-12 08:12:37 EST (Thu, 12 Feb 2009)
+++ (empty file)
@@ -1,146 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//
-// (C) Copyright Vicente J. Botet Escriba 2008. Distributed under the Boost
-// Software License, Version 1.0. (See accompanying file
-// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-//
-// See http://www.boost.org/libs/synchro for documentation.
-//
-//////////////////////////////////////////////////////////////////////////////
-
-#ifndef BOOST_SYNCHRO_MAKE_LOCKABLE__HPP
-#define BOOST_SYNCHRO_MAKE_LOCKABLE__HPP
-
-#include <boost/synchro/lockable_traits.hpp>
-#include "boost/noncopyable.hpp"
-#include "boost/thread/thread_time.hpp"
-
-namespace boost { namespace synchro {
-
-//[make_exclusive_lockable
-template <typename Lockable>
-class make_exclusive_lockable : private boost::noncopyable
-{
-public:
- typedef Lockable lockable_type;
- typedef typename scope_tag<Lockable>::type scope;
- typedef typename category_tag<Lockable>::type category;
- typedef typename reentrancy_tag<Lockable>::type reentrancy;
- typedef typename timed_interface_tag<Lockable>::type timed_interface;
- typedef typename lifetime_tag<Lockable>::type lifetime;
- typedef typename naming_tag<Lockable>::type naming;
-
-
- void lock() {lock_.lock();}
- void unlock() {lock_.unlock();}
- bool try_lock() { return lock_.try_lock();}
- lockable_type* mutex() const { return &lock_; }
-
-protected:
- mutable Lockable lock_;
-};
-//]
-
-//[make_timed_lockable
-template <typename TimedLock>
-class make_timed_lockable
- : public make_exclusive_lockable<TimedLock>
-{
-public:
- typedef TimedLock lockable_base_type;
-
- bool timed_lock(system_time const & abs_time)
- {return the_lock().timed_lock(abs_time);}
- template<typename TimeDuration>
- bool timed_lock(TimeDuration const & relative_time)
- {return the_lock().timed_lock(relative_time);}
-protected:
- TimedLock& the_lock() {return *static_cast<TimedLock*>(&this->lock_);}
-};
-//]
-
-//[make_share_lockable
-template <typename SharableLock>
-class make_share_lockable
- : public make_timed_lockable<SharableLock>
-{
-public:
- typedef SharableLock lockable_base_type;
-
- void lock_shared()
- {the_lock().lock_shared();}
- bool try_lock_shared()
- {return the_lock().try_lock_shared();}
- void unlock_shared()
- {the_lock().unlock_shared();}
- bool timed_lock_shared(system_time const& t)
- {return the_lock().timed_lock_shared(t);}
-
-protected:
- SharableLock& the_lock() {return *static_cast<SharableLock*>(&this->lock_);}
-};
-//]
-
-//[make_upgrade_lockable
-template <typename UpgradableLock>
-class make_upgrade_lockable
- : public make_share_lockable<UpgradableLock>
-{
-public:
- typedef UpgradableLock lockable_base_type;
-
- void lock_upgrade()
- {the_lock().lock_upgrade();}
-
- void unlock_upgrade()
- {the_lock().unlock_upgrade();}
-
- void unlock_upgrade_and_lock()
- {the_lock().unlock_upgrade_and_lock();}
- void unlock_and_lock_upgrade()
- {the_lock().unlock_and_lock_upgrade();}
- void unlock_and_lock_shared()
- {the_lock().unlock_and_lock_shared();}
- void unlock_upgrade_and_lock_shared()
- {the_lock().unlock_upgrade_and_lock_shared();}
- bool timed_lock_upgrade(system_time const&t)
- {return the_lock().timed_lock_upgrade(t);}
-
-protected:
- UpgradableLock& the_lock() {return *static_cast<UpgradableLock*>(&this->lock_);}
-};
-//]
-
-
-//[make_lockable
-template <
- typename Lockable
- , typename category=typename category_tag<Lockable>::type
- , typename timed_interface=typename timed_interface_tag<Lockable>::type
-> struct make_lockable;
-
-template <typename Lockable>
-struct make_lockable<Lockable, exclusive_lock_tag, hasnt_timed_interface_tag>
- : protected make_exclusive_lockable<Lockable>
-{};
-
-template <typename Lockable>
-struct make_lockable<Lockable, exclusive_lock_tag, has_timed_interface_tag>
- : protected make_timed_lockable<Lockable>
-{};
-
-template <typename Lockable, typename timed_interface>
-struct make_lockable<Lockable, sharable_lock_tag, timed_interface>
- : protected make_share_lockable<Lockable>
-{};
-
-template <typename Lockable, typename timed_interface>
-struct make_lockable<Lockable, upgradable_lock_tag, timed_interface>
- : protected make_upgrade_lockable<Lockable>
-{};
-
-//]
-
-}
-}
-#endif
Modified: sandbox/synchro/boost/synchro/monitor.hpp
==============================================================================
--- sandbox/synchro/boost/synchro/monitor.hpp (original)
+++ sandbox/synchro/boost/synchro/monitor.hpp 2009-02-12 08:12:37 EST (Thu, 12 Feb 2009)
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Vicente J. Botet Escriba 2008. Distributed under the Boost
+// (C) Copyright Vicente J. Botet Escriba 2008-2009. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
@@ -11,11 +11,11 @@
#ifndef BOOST_SYNCHRO_CONC_MONITOR__HPP
#define BOOST_SYNCHRO_CONC_MONITOR__HPP
-#include "boost/synchro/lockers/condition_locker.hpp"
-#include "boost/synchro/lockable_concepts.hpp"
-#include "boost/synchro/make_lockable.hpp"
-#include "boost/synchro/thread/mutex.hpp"
-#include "boost/synchro/thread/shared_mutex.hpp"
+#include <boost/synchro/lockers/condition_locker.hpp>
+#include <boost/synchro/lockable_concepts.hpp>
+#include <boost/synchro/lockable_adapter.hpp>
+#include <boost/synchro/thread/mutex.hpp>
+#include <boost/synchro/thread/shared_mutex.hpp>
namespace boost { namespace synchro {
@@ -26,7 +26,7 @@
template <
typename Lockable=boost::mutex
>
-class exclusive_monitor : protected make_exclusive_lockable<Lockable> { /*< behaves like an ExclusiveLockable for the derived classes >*/
+class exclusive_monitor : protected exclusive_lockable_adapter<Lockable> { /*< behaves like an ExclusiveLockable for the derived classes >*/
protected:
typedef unspecified synchronizer; /*< is an strict lock guard >*/
};
@@ -39,7 +39,7 @@
typename Lockable=boost::mutex,
class Condition=typename best_condition<Lockable>::type
>
-class exclusive_monitor : protected make_lockable<Lockable> {
+class exclusive_monitor : protected lockable_adapter<Lockable> {
BOOST_CONCEPT_ASSERT((LockableConcept<Lockable>));
protected:
typedef Condition condition;
@@ -52,7 +52,7 @@
typename Lockable=boost::shared_mutex,
class Condition=condition_safe<typename best_condition_any<Lockable>::type >,
>
-class shared_monitor : protected make_lockable<Lockable> {
+class shared_monitor : protected lockable_adapter<Lockable> {
BOOST_CONCEPT_ASSERT((LockableConcept<Lockable>));
protected:
typedef Condition condition;
@@ -68,7 +68,7 @@
class Condition=condition_safe<typename best_condition<Lockable>::type >,
class ConditionBoosted=condition_safe_boosted<typename best_condition<Lockable>::type >
>
-class exclusive_monitor : protected make_lockable<Lockable> {
+class exclusive_monitor : protected lockable_adapter<Lockable> {
BOOST_CONCEPT_ASSERT((LockableConcept<Lockable>));
protected:
typedef Condition condition;
@@ -81,7 +81,7 @@
class Condition=condition_safe<typename best_condition_any<Lockable>::type >,
class ConditionBoosted=condition_safe_boosted<typename best_condition_any<Lockable>::type >
>
-class shared_monitor : protected make_lockable<Lockable> {
+class shared_monitor : protected lockable_adapter<Lockable> {
BOOST_CONCEPT_ASSERT((LockableConcept<Lockable>));
protected:
typedef Condition condition;
@@ -95,7 +95,7 @@
// typename Lockable=boost::shared_mutex,
// typename Condition=condition_safe<best_condition<Lockable> >
//>
-//class upgrade_monitor : protected make_lockable<Lockable> {
+//class upgrade_monitor : protected lockable_adapter<Lockable> {
// BOOST_CONCEPT_ASSERT((LockableConcept<Lockable>));
//protected:
// typedef Condition condition;
Modified: sandbox/synchro/boost/synchro/null_condition.hpp
==============================================================================
--- sandbox/synchro/boost/synchro/null_condition.hpp (original)
+++ sandbox/synchro/boost/synchro/null_condition.hpp 2009-02-12 08:12:37 EST (Thu, 12 Feb 2009)
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Vicente J. Botet Escriba 2008. Distributed under the Boost
+// (C) Copyright Vicente J. Botet Escriba 2008-2009. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
Modified: sandbox/synchro/boost/synchro/null_mutex.hpp
==============================================================================
--- sandbox/synchro/boost/synchro/null_mutex.hpp (original)
+++ sandbox/synchro/boost/synchro/null_mutex.hpp 2009-02-12 08:12:37 EST (Thu, 12 Feb 2009)
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Vicente J. Botet Escriba 2008. Distributed under the Boost
+// (C) Copyright Vicente J. Botet Escriba 2008-2009. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
@@ -13,7 +13,7 @@
#include <boost/synchro/lockable_traits.hpp>
-#include "boost/thread/thread_time.hpp"
+#include <boost/thread/thread_time.hpp>
//!\file
//!Describes null_mutex classes
Modified: sandbox/synchro/boost/synchro/null_synchronization_family.hpp
==============================================================================
--- sandbox/synchro/boost/synchro/null_synchronization_family.hpp (original)
+++ sandbox/synchro/boost/synchro/null_synchronization_family.hpp 2009-02-12 08:12:37 EST (Thu, 12 Feb 2009)
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Vicente J. Botet Escriba 2008. Distributed under the Boost
+// (C) Copyright Vicente J. Botet Escriba 2008-2009. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
@@ -11,8 +11,8 @@
#ifndef BOOST_SYNCHRO_NULL_SYNCHROHRONIZATION_FAMILY__HPP
#define BOOST_SYNCHRO_NULL_SYNCHROHRONIZATION_FAMILY__HPP
-#include "boost/synchro/null_mutex.hpp"
-#include "boost/synchro/null_condition.hpp"
+#include <boost/synchro/null_mutex.hpp>
+#include <boost/synchro/null_condition.hpp>
namespace boost {
namespace synchro {
Modified: sandbox/synchro/boost/synchro/poly/adaptive_lock.hpp
==============================================================================
--- sandbox/synchro/boost/synchro/poly/adaptive_lock.hpp (original)
+++ sandbox/synchro/boost/synchro/poly/adaptive_lock.hpp 2009-02-12 08:12:37 EST (Thu, 12 Feb 2009)
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Vicente J. Botet Escriba 2008. Distributed under the Boost
+// (C) Copyright Vicente J. Botet Escriba 2008-2009. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
Modified: sandbox/synchro/boost/synchro/poly/lock.hpp
==============================================================================
--- sandbox/synchro/boost/synchro/poly/lock.hpp (original)
+++ sandbox/synchro/boost/synchro/poly/lock.hpp 2009-02-12 08:12:37 EST (Thu, 12 Feb 2009)
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Vicente J. Botet Escriba 2008. Distributed under the Boost
+// (C) Copyright Vicente J. Botet Escriba 2008-2009. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
Modified: sandbox/synchro/boost/synchro/poly/lock_adapter.hpp
==============================================================================
--- sandbox/synchro/boost/synchro/poly/lock_adapter.hpp (original)
+++ sandbox/synchro/boost/synchro/poly/lock_adapter.hpp 2009-02-12 08:12:37 EST (Thu, 12 Feb 2009)
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Vicente J. Botet Escriba 2008. Distributed under the Boost
+// (C) Copyright Vicente J. Botet Escriba 2008-2009. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
Modified: sandbox/synchro/boost/synchro/process/lockable_scope_traits.hpp
==============================================================================
--- sandbox/synchro/boost/synchro/process/lockable_scope_traits.hpp (original)
+++ sandbox/synchro/boost/synchro/process/lockable_scope_traits.hpp 2009-02-12 08:12:37 EST (Thu, 12 Feb 2009)
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Vicente J. Botet Escriba 2008. Distributed under the Boost
+// (C) Copyright Vicente J. Botet Escriba 2008-2009. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
@@ -17,7 +17,7 @@
#include <boost/interprocess/sync/lock_options.hpp>
#include <boost/interprocess/detail/move.hpp>
#include <boost/synchro/lockable_scope_traits.hpp>
-#include "boost/synchro/lockable_traits.hpp"
+#include <boost/synchro/lockable_traits.hpp>
namespace boost { namespace synchro {
Modified: sandbox/synchro/boost/synchro/process/locks.hpp
==============================================================================
--- sandbox/synchro/boost/synchro/process/locks.hpp (original)
+++ sandbox/synchro/boost/synchro/process/locks.hpp 2009-02-12 08:12:37 EST (Thu, 12 Feb 2009)
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Vicente J. Botet Escriba 2008. Distributed under the Boost
+// (C) Copyright Vicente J. Botet Escriba 2008-2009. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
@@ -14,7 +14,7 @@
#include <boost/interprocess/sync/scoped_lock.hpp>
#include <boost/interprocess/sync/sharable_lock.hpp>
#include <boost/interprocess/sync/upgradable_lock.hpp>
-#include "boost/synchro/lockable_traits.hpp"
+#include <boost/synchro/lockable_traits.hpp>
namespace boost { namespace synchro {
Modified: sandbox/synchro/boost/synchro/process/mutex.hpp
==============================================================================
--- sandbox/synchro/boost/synchro/process/mutex.hpp (original)
+++ sandbox/synchro/boost/synchro/process/mutex.hpp 2009-02-12 08:12:37 EST (Thu, 12 Feb 2009)
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Vicente J. Botet Escriba 2008. Distributed under the Boost
+// (C) Copyright Vicente J. Botet Escriba 2008-2009. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
Modified: sandbox/synchro/boost/synchro/process/named_mutex.hpp
==============================================================================
--- sandbox/synchro/boost/synchro/process/named_mutex.hpp (original)
+++ sandbox/synchro/boost/synchro/process/named_mutex.hpp 2009-02-12 08:12:37 EST (Thu, 12 Feb 2009)
@@ -3,7 +3,7 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Vicente J. Botet Escriba 2008. Distributed under the Boost
+// (C) Copyright Vicente J. Botet Escriba 2008-2009. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
Modified: sandbox/synchro/boost/synchro/process/named_recursive_mutex.hpp
==============================================================================
--- sandbox/synchro/boost/synchro/process/named_recursive_mutex.hpp (original)
+++ sandbox/synchro/boost/synchro/process/named_recursive_mutex.hpp 2009-02-12 08:12:37 EST (Thu, 12 Feb 2009)
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Vicente J. Botet Escriba 2008. Distributed under the Boost
+// (C) Copyright Vicente J. Botet Escriba 2008-2009. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
Modified: sandbox/synchro/boost/synchro/process/named_upgradable_mutex.hpp
==============================================================================
--- sandbox/synchro/boost/synchro/process/named_upgradable_mutex.hpp (original)
+++ sandbox/synchro/boost/synchro/process/named_upgradable_mutex.hpp 2009-02-12 08:12:37 EST (Thu, 12 Feb 2009)
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Vicente J. Botet Escriba 2008. Distributed under the Boost
+// (C) Copyright Vicente J. Botet Escriba 2008-2009. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
Modified: sandbox/synchro/boost/synchro/process/recursive_mutex.hpp
==============================================================================
--- sandbox/synchro/boost/synchro/process/recursive_mutex.hpp (original)
+++ sandbox/synchro/boost/synchro/process/recursive_mutex.hpp 2009-02-12 08:12:37 EST (Thu, 12 Feb 2009)
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Vicente J. Botet Escriba 2008. Distributed under the Boost
+// (C) Copyright Vicente J. Botet Escriba 2008-2009. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
Modified: sandbox/synchro/boost/synchro/process/upgradable_mutex.hpp
==============================================================================
--- sandbox/synchro/boost/synchro/process/upgradable_mutex.hpp (original)
+++ sandbox/synchro/boost/synchro/process/upgradable_mutex.hpp 2009-02-12 08:12:37 EST (Thu, 12 Feb 2009)
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Vicente J. Botet Escriba 2008. Distributed under the Boost
+// (C) Copyright Vicente J. Botet Escriba 2008-2009. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
Modified: sandbox/synchro/boost/synchro/process_synchronization_family.hpp
==============================================================================
--- sandbox/synchro/boost/synchro/process_synchronization_family.hpp (original)
+++ sandbox/synchro/boost/synchro/process_synchronization_family.hpp 2009-02-12 08:12:37 EST (Thu, 12 Feb 2009)
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Vicente J. Botet Escriba 2008. Distributed under the Boost
+// (C) Copyright Vicente J. Botet Escriba 2008-2009. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
@@ -11,10 +11,10 @@
#ifndef BOOST_SYNCHRO_PROCESS_SYNCHROHRONIZATION_FAMILY__HPP
#define BOOST_SYNCHRO_PROCESS_SYNCHROHRONIZATION_FAMILY__HPP
-#include "boost/synchro/process/mutex.hpp"
-#include "boost/synchro/process/recursive_mutex.hpp"
-#include "boost/synchro/process/upgradable_mutex.hpp"
-#include "boost/interprocess/sync/interprocess_condition.hpp"
+#include <boost/synchro/process/mutex.hpp>
+#include <boost/synchro/process/recursive_mutex.hpp>
+#include <boost/synchro/process/upgradable_mutex.hpp>
+#include <boost/interprocess/sync/interprocess_condition.hpp>
namespace boost {
namespace synchro {
Modified: sandbox/synchro/boost/synchro/queues/synchro_buffer_family.hpp
==============================================================================
--- sandbox/synchro/boost/synchro/queues/synchro_buffer_family.hpp (original)
+++ sandbox/synchro/boost/synchro/queues/synchro_buffer_family.hpp 2009-02-12 08:12:37 EST (Thu, 12 Feb 2009)
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Vicente J. Botet Escriba 2008. Distributed under the Boost
+// (C) Copyright Vicente J. Botet Escriba 2008-2009. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
Modified: sandbox/synchro/boost/synchro/queues/synchro_buffer_monitor.hpp
==============================================================================
--- sandbox/synchro/boost/synchro/queues/synchro_buffer_monitor.hpp (original)
+++ sandbox/synchro/boost/synchro/queues/synchro_buffer_monitor.hpp 2009-02-12 08:12:37 EST (Thu, 12 Feb 2009)
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Vicente J. Botet Escriba 2008. Distributed under the Boost
+// (C) Copyright Vicente J. Botet Escriba 2008-2009. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
@@ -11,14 +11,7 @@
#ifndef BOOST_SYNCHRO_CONC_BUFFER__HPP
#define BOOST_SYNCHRO_CONC_BUFFER__HPP
-//#include "boost/synchro/lockers/is_strict_locker.hpp"
-//#include "boost/synchro/lockers/strict_locker.hpp"
-//#include "boost/synchro/syntactic_lock_traits.hpp"
-//#include "boost/synchro/lockable_traits.hpp"
-//#include "boost/static_assert.hpp"
-//#include "boost/type_traits/is_same.hpp"
-//#include "boost/synchro/lockable_concepts.hpp"
-#include "boost/synchro/monitor.hpp"
+#include <boost/synchro/monitor.hpp>
namespace boost { namespace synchro {
Modified: sandbox/synchro/boost/synchro/semaphore.hpp
==============================================================================
--- sandbox/synchro/boost/synchro/semaphore.hpp (original)
+++ sandbox/synchro/boost/synchro/semaphore.hpp 2009-02-12 08:12:37 EST (Thu, 12 Feb 2009)
@@ -1,7 +1,7 @@
//////////////////////////////////////////////////////////////////////////////
//
// (C) Copyright Ion Gaztanaga 2005-2008.
-// (C) Copyright Vicente J. Botet Escriba 2008.
+// (C) Copyright Vicente J. Botet Escriba 2008-2009.
// Distributed under the Boost Software License,
// Version 1.0. (See accompanying file LICENSE_1_0.txt or
// copy at http://www.boost.org/LICENSE_1_0.txt)
@@ -13,11 +13,8 @@
#ifndef BOOST_SYNCHRO_SEMAPHORE_HPP
#define BOOST_SYNCHRO_SEMAPHORE_HPP
-//#include "boost/thread/mutex.hpp"
-//#include "boost/thread/condition_variable.hpp"
-//#include "boost/thread/locks.hpp"
-#include "boost/synchro/thread_synchronization_family.hpp"
-#include "boost/synchro/lockable_traits.hpp"
+#include <boost/synchro/thread_synchronization_family.hpp>
+#include <boost/synchro/lockable_traits.hpp>
//!\file
//!Describes a semaphore class for inter-process synchronization
Modified: sandbox/synchro/boost/synchro/syntactic_lock_traits.hpp
==============================================================================
--- sandbox/synchro/boost/synchro/syntactic_lock_traits.hpp (original)
+++ sandbox/synchro/boost/synchro/syntactic_lock_traits.hpp 2009-02-12 08:12:37 EST (Thu, 12 Feb 2009)
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Vicente J. Botet Escriba 2008. Distributed under the Boost
+// (C) Copyright Vicente J. Botet Escriba 2008-2009. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
@@ -11,8 +11,8 @@
#ifndef BOOST_SYNCHRO_SYNTACTIC_LOCK_TRAITS__HPP
#define BOOST_SYNCHRO_SYNTACTIC_LOCK_TRAITS__HPP
-#include "boost/synchro/lockable_scope_traits.hpp"
-#include "boost/synchro/lockable_traits.hpp"
+#include <boost/synchro/lockable_scope_traits.hpp>
+#include <boost/synchro/lockable_traits.hpp>
namespace boost { namespace synchro {
Modified: sandbox/synchro/boost/synchro/thread/lockable_scope_traits.hpp
==============================================================================
--- sandbox/synchro/boost/synchro/thread/lockable_scope_traits.hpp (original)
+++ sandbox/synchro/boost/synchro/thread/lockable_scope_traits.hpp 2009-02-12 08:12:37 EST (Thu, 12 Feb 2009)
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Vicente J. Botet Escriba 2008. Distributed under the Boost
+// (C) Copyright Vicente J. Botet Escriba 2008-2009. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
Modified: sandbox/synchro/boost/synchro/thread/locks.hpp
==============================================================================
--- sandbox/synchro/boost/synchro/thread/locks.hpp (original)
+++ sandbox/synchro/boost/synchro/thread/locks.hpp 2009-02-12 08:12:37 EST (Thu, 12 Feb 2009)
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Vicente J. Botet Escriba 2008. Distributed under the Boost
+// (C) Copyright Vicente J. Botet Escriba 2008-2009. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
Modified: sandbox/synchro/boost/synchro/thread/mutex.hpp
==============================================================================
--- sandbox/synchro/boost/synchro/thread/mutex.hpp (original)
+++ sandbox/synchro/boost/synchro/thread/mutex.hpp 2009-02-12 08:12:37 EST (Thu, 12 Feb 2009)
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Vicente J. Botet Escriba 2008. Distributed under the Boost
+// (C) Copyright Vicente J. Botet Escriba 2008-2009. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
@@ -15,7 +15,7 @@
#include <boost/thread/mutex.hpp>
#include <boost/thread/condition_variable.hpp>
#include <boost/synchro/lockable_traits.hpp>
-#include "boost/thread/thread_time.hpp"
+#include <boost/thread/thread_time.hpp>
#include <boost/synchro/thread/lockable_scope_traits.hpp>
Modified: sandbox/synchro/boost/synchro/thread/recursive_mutex.hpp
==============================================================================
--- sandbox/synchro/boost/synchro/thread/recursive_mutex.hpp (original)
+++ sandbox/synchro/boost/synchro/thread/recursive_mutex.hpp 2009-02-12 08:12:37 EST (Thu, 12 Feb 2009)
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Vicente J. Botet Escriba 2008. Distributed under the Boost
+// (C) Copyright Vicente J. Botet Escriba 2008-2009. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
Modified: sandbox/synchro/boost/synchro/thread/shared_mutex.hpp
==============================================================================
--- sandbox/synchro/boost/synchro/thread/shared_mutex.hpp (original)
+++ sandbox/synchro/boost/synchro/thread/shared_mutex.hpp 2009-02-12 08:12:37 EST (Thu, 12 Feb 2009)
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Vicente J. Botet Escriba 2008. Distributed under the Boost
+// (C) Copyright Vicente J. Botet Escriba 2008-2009. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk