|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r52825 - in sandbox/synchro: boost/conversion boost/synchro boost/synchro/conc boost/synchro/lockers boost/synchro/process boost/synchro/thread libs/conversion libs/synchro/doc libs/synchro/example libs/synchro/test
From: vicente.botet_at_[hidden]
Date: 2009-05-07 06:09:21
Author: viboes
Date: 2009-05-07 06:09:18 EDT (Thu, 07 May 2009)
New Revision: 52825
URL: http://svn.boost.org/trac/boost/changeset/52825
Log:
Boost.Syncho V0.1.4: adaptation to Boost 1.39 + extraction of Boost.Conversion
Removed:
sandbox/synchro/boost/conversion/
sandbox/synchro/libs/conversion/
sandbox/synchro/libs/synchro/doc/changes.qbk
Text files modified:
sandbox/synchro/boost/synchro/conc/concurrent_component.hpp | 4
sandbox/synchro/boost/synchro/condition_lockable.hpp | 4
sandbox/synchro/boost/synchro/condition_safe.hpp | 4
sandbox/synchro/boost/synchro/lockers/condition_locker.hpp | 4
sandbox/synchro/boost/synchro/process/lockable_scope_traits.hpp | 4
sandbox/synchro/boost/synchro/process/locks.hpp | 112 ++++++++++++++++++++--------------------
sandbox/synchro/boost/synchro/process/mutex.hpp | 4
sandbox/synchro/boost/synchro/process/named_mutex.hpp | 4
sandbox/synchro/boost/synchro/process/named_recursive_mutex.hpp | 4
sandbox/synchro/boost/synchro/process/recursive_mutex.hpp | 4
sandbox/synchro/boost/synchro/semaphore.hpp | 4
sandbox/synchro/boost/synchro/thread/locks.hpp | 4
sandbox/synchro/boost/synchro/thread/mutex.hpp | 4
sandbox/synchro/boost/synchro/thread/recursive_mutex.hpp | 4
sandbox/synchro/boost/synchro/thread/shared_mutex.hpp | 4
sandbox/synchro/boost/synchro/thread/thread_to_lockable_adapter.hpp | 4
sandbox/synchro/libs/synchro/doc/history.qbk | 5 +
sandbox/synchro/libs/synchro/example/Histogram.cpp | 16 ++--
sandbox/synchro/libs/synchro/test/Jamfile.v2 | 23 +++-----
19 files changed, 107 insertions(+), 109 deletions(-)
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-05-07 06:09:18 EDT (Thu, 07 May 2009)
@@ -12,7 +12,7 @@
#define BOOST_SYNCHRO_CONC_SYSTEM__HPP
#include <boost/synchro/semaphore.hpp>
-#include <boost/interthreads/fork.hpp>
+//#include <boost/async/fork.hpp>
#include <boost/bind.hpp>
#include <boost/ref.hpp>
#include <typeinfo>
@@ -269,7 +269,7 @@
#endif
}
#if 0
-namespace interthreads {
+namespace async {
namespace partial_specialization_workaround {
template< typename AE, typename CC >
struct fork<AE,CC&> {
Modified: sandbox/synchro/boost/synchro/condition_lockable.hpp
==============================================================================
--- sandbox/synchro/boost/synchro/condition_lockable.hpp (original)
+++ sandbox/synchro/boost/synchro/condition_lockable.hpp 2009-05-07 06:09:18 EDT (Thu, 07 May 2009)
@@ -18,8 +18,8 @@
#include <boost/synchro/condition_backdoor.hpp>
#include <boost/synchro/condition_safe.hpp>
#include <boost/synchro/timeout_exception.hpp>
-#include <boost/conversion/chrono_time_point_to_posix_time_ptime.hpp>
-#include <boost/conversion/chrono_duration_to_posix_time_duration.hpp>
+#include <boost/conversion/boost/chrono_time_point_to_posix_time_ptime.hpp>
+#include <boost/conversion/boost/chrono_duration_to_posix_time_duration.hpp>
namespace boost { namespace synchro {
Modified: sandbox/synchro/boost/synchro/condition_safe.hpp
==============================================================================
--- sandbox/synchro/boost/synchro/condition_safe.hpp (original)
+++ sandbox/synchro/boost/synchro/condition_safe.hpp 2009-05-07 06:09:18 EDT (Thu, 07 May 2009)
@@ -16,8 +16,8 @@
#include <boost/synchro/thread/mutex.hpp>
#include <boost/synchro/detail/deleted_functions.hpp>
#include <boost/synchro/detail/defaulted_functions.hpp>
-#include <boost/conversion/chrono_time_point_to_posix_time_ptime.hpp>
-#include <boost/conversion/chrono_duration_to_posix_time_duration.hpp>
+#include <boost/conversion/boost/chrono_time_point_to_posix_time_ptime.hpp>
+#include <boost/conversion/boost/chrono_duration_to_posix_time_duration.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-05-07 06:09:18 EDT (Thu, 07 May 2009)
@@ -17,8 +17,8 @@
#include <boost/synchro/condition_backdoor.hpp>
#include <boost/synchro/condition_safe.hpp>
#include <boost/synchro/lockers.hpp>
-#include <boost/conversion/chrono_time_point_to_posix_time_ptime.hpp>
-#include <boost/conversion/chrono_duration_to_posix_time_duration.hpp>
+#include <boost/conversion/boost/chrono_time_point_to_posix_time_ptime.hpp>
+#include <boost/conversion/boost/chrono_duration_to_posix_time_duration.hpp>
namespace boost { namespace synchro {
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-05-07 06:09:18 EDT (Thu, 07 May 2009)
@@ -27,8 +27,8 @@
typedef boost::interprocess::lock_exception lock_error;
template <typename T>
- struct moved_object : boost::interprocess::detail::moved_object<T> {
- moved_object(T& t_): boost::interprocess::detail::moved_object<T>(t_) {}
+ struct moved_object : boost::interprocess::rv<T> {
+ moved_object(T& t_): boost::interprocess::rv<T>(t_) {}
};
typedef boost::interprocess::defer_lock_type defer_lock_t;
Modified: sandbox/synchro/boost/synchro/process/locks.hpp
==============================================================================
--- sandbox/synchro/boost/synchro/process/locks.hpp (original)
+++ sandbox/synchro/boost/synchro/process/locks.hpp 2009-05-07 06:09:18 EDT (Thu, 07 May 2009)
@@ -124,44 +124,44 @@
this->base_type.swap(other);
}
#else
- unique_locker(interprocess::detail::moved_object<unique_locker<Mutex, scope_tag_type> > other)
- : base_type(interprocess::detail::moved_object<base_type>(other.get()))
+ unique_locker(interprocess::rv<unique_locker<Mutex, scope_tag_type> > other)
+ : base_type(interprocess::rv<base_type>(other.get()))
{}
- unique_locker(interprocess::detail::moved_object<upgrade_locker<Mutex,scope_tag_type> > other)
- : base_type(interprocess::detail::moved_object<upgrade_locker<Mutex,scope_tag_type> >(other.get()))
+ unique_locker(interprocess::rv<upgrade_locker<Mutex,scope_tag_type> > other)
+ : base_type(interprocess::rv<upgrade_locker<Mutex,scope_tag_type> >(other.get()))
{}
// interprocess specific
- unique_locker(interprocess::detail::moved_object<upgrade_locker<Mutex,scope_tag_type> > other
+ unique_locker(interprocess::rv<upgrade_locker<Mutex,scope_tag_type> > other
, try_to_lock_t)
- : base_type(interprocess::detail::moved_object<upgrade_locker<Mutex,scope_tag_type> >(other.get())
+ : base_type(interprocess::rv<upgrade_locker<Mutex,scope_tag_type> >(other.get())
, boost::interprocess::try_to_lock)
{}
// interprocess specific
- unique_locker(interprocess::detail::moved_object<upgrade_locker<Mutex,scope_tag_type> > other
+ unique_locker(interprocess::rv<upgrade_locker<Mutex,scope_tag_type> > other
, system_time const& target_time)
- : base_type(interprocess::detail::moved_object<upgrade_locker<Mutex,scope_tag_type> >(other.get())
+ : base_type(interprocess::rv<upgrade_locker<Mutex,scope_tag_type> >(other.get())
, target_time)
{}
- operator interprocess::detail::moved_object<unique_locker<Mutex, scope_tag_type> >()
+ operator interprocess::rv<unique_locker<Mutex, scope_tag_type> >()
{
return move();
}
- interprocess::detail::moved_object<unique_locker<Mutex, scope_tag_type> > move()
+ interprocess::rv<unique_locker<Mutex, scope_tag_type> > move()
{
- return interprocess::detail::moved_object<unique_locker<Mutex, scope_tag_type> >(*this);
+ return interprocess::rv<unique_locker<Mutex, scope_tag_type> >(*this);
}
- unique_locker& operator=(interprocess::detail::moved_object<unique_locker<Mutex, scope_tag_type> > other)
+ unique_locker& operator=(interprocess::rv<unique_locker<Mutex, scope_tag_type> > other)
{
unique_locker temp(other);
swap(temp);
return *this;
}
- unique_locker& operator=(interprocess::detail::moved_object<upgrade_locker<Mutex, scope_tag_type> > other)
+ unique_locker& operator=(interprocess::rv<upgrade_locker<Mutex, scope_tag_type> > other)
{
unique_locker temp(other);
swap(temp);
@@ -171,9 +171,9 @@
{
this->base_type.swap(other);
}
- void swap(interprocess::detail::moved_object<unique_locker<Mutex, scope_tag_type> > other)
+ void swap(interprocess::rv<unique_locker<Mutex, scope_tag_type> > other)
{
- this->base_type.swap(interprocess::detail::moved_object<base_type>(other.get()));
+ this->base_type.swap(interprocess::rv<base_type>(other.get()));
}
#endif
@@ -313,44 +313,44 @@
this->base_type.swap(other);
}
#else
- try_unique_locker(interprocess::detail::moved_object<try_unique_locker<Mutex, scope_tag_type> > other)
- : base_type(interprocess::detail::moved_object<base_type>(other.get()))
+ try_unique_locker(interprocess::rv<try_unique_locker<Mutex, scope_tag_type> > other)
+ : base_type(interprocess::rv<base_type>(other.get()))
{}
- try_unique_locker(interprocess::detail::moved_object<upgrade_locker<Mutex,scope_tag_type> > other)
- : base_type(interprocess::detail::moved_object<upgrade_locker<Mutex,scope_tag_type> >(other.get()))
+ try_unique_locker(interprocess::rv<upgrade_locker<Mutex,scope_tag_type> > other)
+ : base_type(interprocess::rv<upgrade_locker<Mutex,scope_tag_type> >(other.get()))
{}
// interprocess specific
- try_unique_locker(interprocess::detail::moved_object<upgrade_locker<Mutex,scope_tag_type> > other
+ try_unique_locker(interprocess::rv<upgrade_locker<Mutex,scope_tag_type> > other
, try_to_lock_t)
- : base_type(interprocess::detail::moved_object<upgrade_locker<Mutex,scope_tag_type> >(other.get())
+ : base_type(interprocess::rv<upgrade_locker<Mutex,scope_tag_type> >(other.get())
, boost::interprocess::try_to_lock)
{}
// interprocess specific
- try_unique_locker(interprocess::detail::moved_object<upgrade_locker<Mutex,scope_tag_type> > other
+ try_unique_locker(interprocess::rv<upgrade_locker<Mutex,scope_tag_type> > other
, system_time const& target_time)
- : base_type(interprocess::detail::moved_object<upgrade_locker<Mutex,scope_tag_type> >(other.get())
+ : base_type(interprocess::rv<upgrade_locker<Mutex,scope_tag_type> >(other.get())
, target_time)
{}
- operator interprocess::detail::moved_object<try_unique_locker<Mutex, scope_tag_type> >()
+ operator interprocess::rv<try_unique_locker<Mutex, scope_tag_type> >()
{
return move();
}
- interprocess::detail::moved_object<try_unique_locker<Mutex, scope_tag_type> > move()
+ interprocess::rv<try_unique_locker<Mutex, scope_tag_type> > move()
{
- return interprocess::detail::moved_object<try_unique_locker<Mutex, scope_tag_type> >(*this);
+ return interprocess::rv<try_unique_locker<Mutex, scope_tag_type> >(*this);
}
- try_unique_locker& operator=(interprocess::detail::moved_object<try_unique_locker<Mutex, scope_tag_type> > other)
+ try_unique_locker& operator=(interprocess::rv<try_unique_locker<Mutex, scope_tag_type> > other)
{
try_unique_locker temp(other);
swap(temp);
return *this;
}
- try_unique_locker& operator=(interprocess::detail::moved_object<upgrade_locker<Mutex, scope_tag_type> > other)
+ try_unique_locker& operator=(interprocess::rv<upgrade_locker<Mutex, scope_tag_type> > other)
{
try_unique_locker temp(other);
swap(temp);
@@ -360,9 +360,9 @@
{
this->base_type.swap(other);
}
- void swap(interprocess::detail::moved_object<try_unique_locker<Mutex, scope_tag_type> > other)
+ void swap(interprocess::rv<try_unique_locker<Mutex, scope_tag_type> > other)
{
- this->base_type.swap(interprocess::detail::moved_object<base_type>(other.get()));
+ this->base_type.swap(interprocess::rv<base_type>(other.get()));
}
#endif
@@ -467,44 +467,44 @@
}
- shared_locker(interprocess::detail::moved_object<shared_locker<Mutex, scope_tag_type> > other)
- : base_type(interprocess::detail::moved_object<base_type>(other.get()))
+ shared_locker(interprocess::rv<shared_locker<Mutex, scope_tag_type> > other)
+ : base_type(interprocess::rv<base_type>(other.get()))
{}
- shared_locker(interprocess::detail::moved_object<unique_locker<Mutex, scope_tag_type> > other)
- : base_type(interprocess::detail::moved_object<typename unique_lock_type<Mutex>::type>(other.get()))
+ shared_locker(interprocess::rv<unique_locker<Mutex, scope_tag_type> > other)
+ : base_type(interprocess::rv<typename unique_lock_type<Mutex>::type>(other.get()))
{}
- shared_locker(interprocess::detail::moved_object<upgrade_locker<Mutex, scope_tag_type> > other)
- : base_type(interprocess::detail::moved_object<typename upgrade_lock_type<Mutex>::type>(other.get()))
+ shared_locker(interprocess::rv<upgrade_locker<Mutex, scope_tag_type> > other)
+ : base_type(interprocess::rv<typename upgrade_lock_type<Mutex>::type>(other.get()))
{}
- operator interprocess::detail::moved_object<shared_locker<Mutex,scope_tag_type> >()
+ operator interprocess::rv<shared_locker<Mutex,scope_tag_type> >()
{
return move();
}
- interprocess::detail::moved_object<shared_locker<Mutex, scope_tag_type> > move()
+ interprocess::rv<shared_locker<Mutex, scope_tag_type> > move()
{
- return interprocess::detail::moved_object<shared_locker<Mutex, scope_tag_type> >(*this);
+ return interprocess::rv<shared_locker<Mutex, scope_tag_type> >(*this);
}
- shared_locker& operator=(interprocess::detail::moved_object<shared_locker<Mutex, scope_tag_type> > other)
+ shared_locker& operator=(interprocess::rv<shared_locker<Mutex, scope_tag_type> > other)
{
shared_locker temp(other);
swap(temp);
return *this;
}
- shared_locker& operator=(interprocess::detail::moved_object<unique_locker<Mutex, scope_tag_type> > other)
+ shared_locker& operator=(interprocess::rv<unique_locker<Mutex, scope_tag_type> > other)
{
shared_locker temp(other);
swap(temp);
return *this;
}
- shared_locker& operator=(interprocess::detail::moved_object<upgrade_locker<Mutex, scope_tag_type> > other)
+ shared_locker& operator=(interprocess::rv<upgrade_locker<Mutex, scope_tag_type> > other)
{
shared_locker temp(other);
swap(temp);
@@ -521,9 +521,9 @@
{
this->base_type.swap(other);
}
- void swap(boost::interprocess::detail::moved_object<shared_locker<Mutex, scope_tag_type> > other)
+ void swap(boost::interprocess::rv<shared_locker<Mutex, scope_tag_type> > other)
{
- this->base_type.swap(interprocess::detail::moved_object<base_type>(other.get()));
+ this->base_type.swap(interprocess::rv<base_type>(other.get()));
}
#endif
@@ -622,32 +622,32 @@
this->lock_for(target_time);
}
- upgrade_locker(interprocess::detail::moved_object<upgrade_locker<Mutex, scope_tag_type> > other)
- : base_type(interprocess::detail::moved_object<base_type>(other.get()))
+ upgrade_locker(interprocess::rv<upgrade_locker<Mutex, scope_tag_type> > other)
+ : base_type(interprocess::rv<base_type>(other.get()))
{}
- upgrade_locker(interprocess::detail::moved_object<unique_locker<Mutex, scope_tag_type> > other)
- : base_type(interprocess::detail::moved_object<typename unique_lock_type<Mutex>::type>(other.get()))
+ upgrade_locker(interprocess::rv<unique_locker<Mutex, scope_tag_type> > other)
+ : base_type(interprocess::rv<typename unique_lock_type<Mutex>::type>(other.get()))
{}
- operator interprocess::detail::moved_object<upgrade_locker<Mutex, scope_tag_type> >()
+ operator interprocess::rv<upgrade_locker<Mutex, scope_tag_type> >()
{
return move();
}
- interprocess::detail::moved_object<upgrade_locker<Mutex, scope_tag_type> > move()
+ interprocess::rv<upgrade_locker<Mutex, scope_tag_type> > move()
{
- return interprocess::detail::moved_object<upgrade_locker<Mutex, scope_tag_type> >(*this);
+ return interprocess::rv<upgrade_locker<Mutex, scope_tag_type> >(*this);
}
- upgrade_locker& operator=(interprocess::detail::moved_object<upgrade_locker<Mutex, scope_tag_type> > other)
+ upgrade_locker& operator=(interprocess::rv<upgrade_locker<Mutex, scope_tag_type> > other)
{
upgrade_locker temp(other);
swap(temp);
return *this;
}
- upgrade_locker& operator=(interprocess::detail::moved_object<unique_locker<Mutex, scope_tag_type> > other)
+ upgrade_locker& operator=(interprocess::rv<unique_locker<Mutex, scope_tag_type> > other)
{
upgrade_locker temp(other);
swap(temp);
@@ -716,11 +716,11 @@
~upgrade_to_unique_locker()
{}
- upgrade_to_unique_locker(interprocess::detail::moved_object<upgrade_to_unique_locker<Mutex, scope_tag_type> > other)
- : base_type(interprocess::detail::moved_object<base_type>(other.get()))
+ upgrade_to_unique_locker(interprocess::rv<upgrade_to_unique_locker<Mutex, scope_tag_type> > other)
+ : base_type(interprocess::rv<base_type>(other.get()))
{}
- upgrade_to_unique_locker& operator=(interprocess::detail::moved_object<upgrade_to_unique_locker<Mutex, scope_tag_type> > other)
+ upgrade_to_unique_locker& operator=(interprocess::rv<upgrade_to_unique_locker<Mutex, scope_tag_type> > other)
{
upgrade_to_unique_locker temp(other);
swap(temp);
Modified: sandbox/synchro/boost/synchro/process/mutex.hpp
==============================================================================
--- sandbox/synchro/boost/synchro/process/mutex.hpp (original)
+++ sandbox/synchro/boost/synchro/process/mutex.hpp 2009-05-07 06:09:18 EDT (Thu, 07 May 2009)
@@ -17,8 +17,8 @@
#include <boost/synchro/process/lockable_scope_traits.hpp>
#include <boost/synchro/timeout_exception.hpp>
#include <boost/synchro/detail/deleted_functions.hpp>
-#include <boost/conversion/chrono_time_point_to_posix_time_ptime.hpp>
-#include <boost/conversion/chrono_duration_to_posix_time_duration.hpp>
+#include <boost/conversion/boost/chrono_time_point_to_posix_time_ptime.hpp>
+#include <boost/conversion/boost/chrono_duration_to_posix_time_duration.hpp>
namespace boost { namespace synchro {
#if 0
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-05-07 06:09:18 EDT (Thu, 07 May 2009)
@@ -16,8 +16,8 @@
#include <boost/synchro/process/lockable_scope_traits.hpp>
#include <boost/synchro/timeout_exception.hpp>
#include <boost/synchro/detail/deleted_functions.hpp>
-#include <boost/conversion/chrono_time_point_to_posix_time_ptime.hpp>
-#include <boost/conversion/chrono_duration_to_posix_time_duration.hpp>
+#include <boost/conversion/boost/chrono_time_point_to_posix_time_ptime.hpp>
+#include <boost/conversion/boost/chrono_duration_to_posix_time_duration.hpp>
namespace boost { namespace synchro {
#if 0
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-05-07 06:09:18 EDT (Thu, 07 May 2009)
@@ -16,8 +16,8 @@
#include <boost/synchro/process/lockable_scope_traits.hpp>
#include <boost/synchro/timeout_exception.hpp>
#include <boost/synchro/detail/deleted_functions.hpp>
-#include <boost/conversion/chrono_time_point_to_posix_time_ptime.hpp>
-#include <boost/conversion/chrono_duration_to_posix_time_duration.hpp>
+#include <boost/conversion/boost/chrono_time_point_to_posix_time_ptime.hpp>
+#include <boost/conversion/boost/chrono_duration_to_posix_time_duration.hpp>
namespace boost { namespace synchro {
#if 0
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-05-07 06:09:18 EDT (Thu, 07 May 2009)
@@ -16,8 +16,8 @@
#include <boost/synchro/process/lockable_scope_traits.hpp>
#include <boost/synchro/timeout_exception.hpp>
#include <boost/synchro/detail/deleted_functions.hpp>
-#include <boost/conversion/chrono_time_point_to_posix_time_ptime.hpp>
-#include <boost/conversion/chrono_duration_to_posix_time_duration.hpp>
+#include <boost/conversion/boost/chrono_time_point_to_posix_time_ptime.hpp>
+#include <boost/conversion/boost/chrono_duration_to_posix_time_duration.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-05-07 06:09:18 EDT (Thu, 07 May 2009)
@@ -16,8 +16,8 @@
#include <boost/synchro/thread_synchronization_family.hpp>
#include <boost/synchro/lockable_traits.hpp>
#include <boost/synchro/detail/deleted_functions.hpp>
-#include <boost/conversion/chrono_time_point_to_posix_time_ptime.hpp>
-#include <boost/conversion/chrono_duration_to_posix_time_duration.hpp>
+#include <boost/conversion/boost/chrono_time_point_to_posix_time_ptime.hpp>
+#include <boost/conversion/boost/chrono_duration_to_posix_time_duration.hpp>
//!\file
//!Describes a semaphore class for inter-process synchronization
Modified: sandbox/synchro/boost/synchro/thread/locks.hpp
==============================================================================
--- sandbox/synchro/boost/synchro/thread/locks.hpp (original)
+++ sandbox/synchro/boost/synchro/thread/locks.hpp 2009-05-07 06:09:18 EDT (Thu, 07 May 2009)
@@ -18,8 +18,8 @@
#include <boost/synchro/detail/deleted_functions.hpp>
//#include <boost/synchro/thread/thread_to_lockable_adapter.hpp>
#include <boost/chrono/chrono.hpp>
-#include <boost/conversion/chrono_time_point_to_posix_time_ptime.hpp>
-#include <boost/conversion/chrono_duration_to_posix_time_duration.hpp>
+#include <boost/conversion/boost/chrono_time_point_to_posix_time_ptime.hpp>
+#include <boost/conversion/boost/chrono_duration_to_posix_time_duration.hpp>
#include <boost/synchro/lockable/functions.hpp>
namespace boost { namespace synchro {
Modified: sandbox/synchro/boost/synchro/thread/mutex.hpp
==============================================================================
--- sandbox/synchro/boost/synchro/thread/mutex.hpp (original)
+++ sandbox/synchro/boost/synchro/thread/mutex.hpp 2009-05-07 06:09:18 EDT (Thu, 07 May 2009)
@@ -21,8 +21,8 @@
#include <boost/synchro/detail/deleted_functions.hpp>
#include <boost/synchro/is_lockable.hpp>
#include <boost/synchro/lockable/functions.hpp>
-#include <boost/conversion/chrono_time_point_to_posix_time_ptime.hpp>
-#include <boost/conversion/chrono_duration_to_posix_time_duration.hpp>
+#include <boost/conversion/boost/chrono_time_point_to_posix_time_ptime.hpp>
+#include <boost/conversion/boost/chrono_duration_to_posix_time_duration.hpp>
namespace boost { namespace synchro {
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-05-07 06:09:18 EDT (Thu, 07 May 2009)
@@ -18,8 +18,8 @@
#include <boost/synchro/timeout_exception.hpp>
#include <boost/synchro/detail/deleted_functions.hpp>
#include <boost/synchro/lockable/functions.hpp>
-#include <boost/conversion/chrono_time_point_to_posix_time_ptime.hpp>
-#include <boost/conversion/chrono_duration_to_posix_time_duration.hpp>
+#include <boost/conversion/boost/chrono_time_point_to_posix_time_ptime.hpp>
+#include <boost/conversion/boost/chrono_duration_to_posix_time_duration.hpp>
namespace boost { namespace synchro {
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-05-07 06:09:18 EDT (Thu, 07 May 2009)
@@ -18,8 +18,8 @@
#include <boost/synchro/timeout_exception.hpp>
#include <boost/synchro/detail/deleted_functions.hpp>
#include <boost/synchro/lockable/functions.hpp>
-#include <boost/conversion/chrono_time_point_to_posix_time_ptime.hpp>
-#include <boost/conversion/chrono_duration_to_posix_time_duration.hpp>
+#include <boost/conversion/boost/chrono_time_point_to_posix_time_ptime.hpp>
+#include <boost/conversion/boost/chrono_duration_to_posix_time_duration.hpp>
namespace boost { namespace synchro {
Modified: sandbox/synchro/boost/synchro/thread/thread_to_lockable_adapter.hpp
==============================================================================
--- sandbox/synchro/boost/synchro/thread/thread_to_lockable_adapter.hpp (original)
+++ sandbox/synchro/boost/synchro/thread/thread_to_lockable_adapter.hpp 2009-05-07 06:09:18 EDT (Thu, 07 May 2009)
@@ -19,8 +19,8 @@
#include <boost/chrono/chrono.hpp>
#include <boost/synchro/lockable/functions.hpp>
#include <boost/synchro/is_lockable.hpp>
-#include <boost/conversion/chrono_time_point_to_posix_time_ptime.hpp>
-#include <boost/conversion/chrono_duration_to_posix_time_duration.hpp>
+#include <boost/conversion/boost/chrono_time_point_to_posix_time_ptime.hpp>
+#include <boost/conversion/boost/chrono_duration_to_posix_time_duration.hpp>
namespace boost { namespace synchro {
Deleted: sandbox/synchro/libs/synchro/doc/changes.qbk
==============================================================================
Modified: sandbox/synchro/libs/synchro/doc/history.qbk
==============================================================================
--- sandbox/synchro/libs/synchro/doc/history.qbk (original)
+++ sandbox/synchro/libs/synchro/doc/history.qbk 2009-05-07 06:09:18 EDT (Thu, 07 May 2009)
@@ -6,7 +6,10 @@
/]
[section:history Appendix A: History]
-
+
+[section [*Version 0.3.2, May 08, 2009] ['Adaptation Boost 1.39 + Extraction of Boost.Conversion]]
+[endsect]
+
[section [*Version 0.3.1, Mars 29, 2009] ['Language-like Synchronized Block Macros]]
[*New Features:]
Modified: sandbox/synchro/libs/synchro/example/Histogram.cpp
==============================================================================
--- sandbox/synchro/libs/synchro/example/Histogram.cpp (original)
+++ sandbox/synchro/libs/synchro/example/Histogram.cpp 2009-05-07 06:09:18 EDT (Thu, 07 May 2009)
@@ -16,8 +16,8 @@
#if 0
#include <boost/synchro/conc/conc_tuple.hpp>
#else
-#include <boost/interthreads/algorithm.hpp>
-#include <boost/interthreads/typeof/threader.hpp>
+#include <boost/async/algorithm.hpp>
+#include <boost/async/typeof/threader.hpp>
#endif
namespace {
@@ -101,9 +101,9 @@
conc_();
conc_.join();
#else
- boost::interthreads::shared_threader ae;
- BOOST_AUTO(conc_, boost::interthreads::fork_all(ae, boost::bind(boost::ref(disp_)), boost::bind(boost::ref(updater_))));
- boost::interthreads::join_all(conc_);
+ boost::async::shared_threader ae;
+ BOOST_AUTO(conc_, boost::async::fork_all(ae, boost::bind(boost::ref(disp_)), boost::bind(boost::ref(updater_))));
+ boost::async::join_all(conc_);
#endif
}
@@ -136,10 +136,10 @@
conc.join();
#else
- boost::interthreads::shared_threader ae;
- BOOST_AUTO(conc, boost::interthreads::fork_all(ae, boost::bind(boost::ref(histo)), boost::bind(boost::ref(snd))));
+ boost::async::shared_threader ae;
+ BOOST_AUTO(conc, boost::async::fork_all(ae, boost::bind(boost::ref(histo)), boost::bind(boost::ref(snd))));
boost::this_thread::sleep(boost::posix_time::seconds(10));
- boost::interthreads::join_all(conc);
+ boost::async::join_all(conc);
#endif
return 0;
Modified: sandbox/synchro/libs/synchro/test/Jamfile.v2
==============================================================================
--- sandbox/synchro/libs/synchro/test/Jamfile.v2 (original)
+++ sandbox/synchro/libs/synchro/test/Jamfile.v2 2009-05-07 06:09:18 EDT (Thu, 07 May 2009)
@@ -18,34 +18,29 @@
project :
: requirements
<include>$(BOOST_ROOT)
+ <include>/sandbox/async
+ <include>/sandbox/chrono
+ <include>/sandbox/conversion
<include>../../..
- <include>../../../../interthreads
- <include>../../../../chrono
<threading>multi
# <target-os>cygwin
#<threadapi>pthread
- <variant>debug
+# <variant>debug
#<library>/boost/test//boost_unit_test_framework/<link>static
#<library>/boost/thread//boost_thread/<link>static
- <library>../../../../chrono/libs/chrono/build//boost_chrono/<link>static
- <library>../../../../../boost_1_38_0/libs/test/build//boost_unit_test_framework/<link>static
- <library>../../../../../boost_1_38_0/libs/thread/build//boost_thread/<link>static
- <library>../../../../../boost_1_38_0/libs/system/build//boost_system/<link>static
+ <library>/boost_1_39_0/libs/test/build//boost_unit_test_framework/<link>static
+ <library>/boost_1_39_0/libs/thread/build//boost_thread/<link>static
+ <library>/sandbox/chrono/libs/chrono/build//boost_chrono/<link>static
+ <library>/boost_1_39_0/libs/system/build//boost_system/<link>static
;
-#exe helpers
-# : ../example/IL_BancAccount.cpp
-# : <define>BOOST_SYNCHRO_DO_NOT_COMPILE
-# ;
-
-
test-suite "sync_lock_traits" :
- [ run thread_count.cpp ]
+# [ run thread_count.cpp ]
[ compile lockable_traits_test.cpp ]
[ compile lockable_concepts_test.cpp ]
[ compile locker_concepts_test.cpp ]
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