|
Boost-Commit : |
From: matt_calabrese_at_[hidden]
Date: 2007-06-15 20:08:35
Author: matt_calabrese
Date: 2007-06-15 20:08:34 EDT (Fri, 15 Jun 2007)
New Revision: 7070
URL: http://svn.boost.org/trac/boost/changeset/7070
Log:
Removed:
sandbox/SOC/2006/concurrency/trunk/boost/act/interlocked/assign/detail/assign_acquire_default_impl.hpp
sandbox/SOC/2006/concurrency/trunk/boost/act/interlocked/assign/detail/assign_acquire_impl.hpp
sandbox/SOC/2006/concurrency/trunk/boost/act/interlocked/assign/detail/assign_acquire_vista.hpp
sandbox/SOC/2006/concurrency/trunk/boost/act/interlocked/assign/detail/assign_impl.hpp
sandbox/SOC/2006/concurrency/trunk/boost/act/interlocked/assign_if_was/detail/assign_if_was_acquire_default_impl.hpp
sandbox/SOC/2006/concurrency/trunk/boost/act/interlocked/assign_if_was/detail/assign_if_was_acquire_impl.hpp
sandbox/SOC/2006/concurrency/trunk/boost/act/interlocked/assign_if_was/detail/assign_if_was_acquire_vista.hpp
sandbox/SOC/2006/concurrency/trunk/boost/act/interlocked/assign_if_was/detail/assign_if_was_impl.hpp
sandbox/SOC/2006/concurrency/trunk/boost/act/interlocked/assign_if_was/detail/assign_if_was_release_default_impl.hpp
sandbox/SOC/2006/concurrency/trunk/boost/act/interlocked/assign_if_was/detail/assign_if_was_release_impl.hpp
sandbox/SOC/2006/concurrency/trunk/boost/act/interlocked/assign_if_was/detail/assign_if_was_release_vista.hpp
sandbox/SOC/2006/concurrency/trunk/boost/act/interlocked/increment/detail/increment_acquire_default_impl.hpp
sandbox/SOC/2006/concurrency/trunk/boost/act/interlocked/increment/detail/increment_acquire_impl.hpp
sandbox/SOC/2006/concurrency/trunk/boost/act/interlocked/increment/detail/increment_default_impl.hpp
sandbox/SOC/2006/concurrency/trunk/boost/act/interlocked/increment/detail/increment_impl.hpp
sandbox/SOC/2006/concurrency/trunk/boost/act/interlocked/increment/detail/increment_release_default_impl.hpp
sandbox/SOC/2006/concurrency/trunk/boost/act/interlocked/increment/detail/increment_release_impl.hpp
sandbox/SOC/2006/concurrency/trunk/boost/act/interlocked/safe_get.hpp
sandbox/SOC/2006/concurrency/trunk/libs/act/test/Jamfile
Deleted: sandbox/SOC/2006/concurrency/trunk/boost/act/interlocked/assign/detail/assign_acquire_default_impl.hpp
==============================================================================
--- sandbox/SOC/2006/concurrency/trunk/boost/act/interlocked/assign/detail/assign_acquire_default_impl.hpp 2007-06-15 20:08:34 EDT (Fri, 15 Jun 2007)
+++ (empty file)
@@ -1,29 +0,0 @@
-/*=============================================================================
- Copyright (c) 2006, 2007 Matthew Calabrese
-
- Use, modification and distribution is subject to 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)
-==============================================================================*/
-
-#ifndef BOOST_ACT_INTERLOCKED_ASSIGN_DETAIL_ASSIGN_ACQUIRE_DEFAULT_IMPL_HPP
-#define BOOST_ACT_INTERLOCKED_ASSIGN_DETAIL_ASSIGN_ACQUIRE_DEFAULT_IMPL_HPP
-
-#include <boost/act/interlocked/assign/assign.hpp>
-
-namespace boost { namespace act { namespace interlocked { namespace detail {
-
-template< typename ResultType, typename UnqualifiedType >
-struct assign_acquire_default_impl
-{
- template< typename LeftType, typename RightType >
- static ResultType execute( LeftType& left, RightType& right )
- {
- return interlocked::assign( left, right );
- }
-};
-
-
-} } } }
-
-#endif
Deleted: sandbox/SOC/2006/concurrency/trunk/boost/act/interlocked/assign/detail/assign_acquire_impl.hpp
==============================================================================
--- sandbox/SOC/2006/concurrency/trunk/boost/act/interlocked/assign/detail/assign_acquire_impl.hpp 2007-06-15 20:08:34 EDT (Fri, 15 Jun 2007)
+++ (empty file)
@@ -1,26 +0,0 @@
-/*=============================================================================
- Copyright (c) 2006, 2007 Matthew Calabrese
-
- Use, modification and distribution is subject to 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)
-==============================================================================*/
-
-#ifndef BOOST_ACT_INTERLOCKED_ASSIGN_DETAIL_ASSIGN_ACQUIRE_IMPL_HPP
-#define BOOST_ACT_INTERLOCKED_ASSIGN_DETAIL_ASSIGN_ACQUIRE_IMPL_HPP
-
-#include <boost/config.hpp>
-
-#ifdef BOOST_WINDOWS
-
-#include <windows.h>
-
-#if WINVER >= 0x0600
-
-#include <boost/act/interlocked/assign/detail/assign_acquire_vista.hpp>
-
-#endif
-
-#endif
-
-#endif
Deleted: sandbox/SOC/2006/concurrency/trunk/boost/act/interlocked/assign/detail/assign_acquire_vista.hpp
==============================================================================
--- sandbox/SOC/2006/concurrency/trunk/boost/act/interlocked/assign/detail/assign_acquire_vista.hpp 2007-06-15 20:08:34 EDT (Fri, 15 Jun 2007)
+++ (empty file)
@@ -1,105 +0,0 @@
-/*=============================================================================
- Copyright (c) 2006, 2007 Matthew Calabrese
-
- Use, modification and distribution is subject to 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)
-==============================================================================*/
-
-#ifndef BOOST_ACT_INTERLOCKED_ASSIGN_DETAIL_ASSIGN_ACQUIRE_VISTA_HPP
-#define BOOST_ACT_INTERLOCKED_ASSIGN_DETAIL_ASSIGN_ACQUIRE_VISTA_HPP
-
-#include <boost/config.hpp>
-
-#ifndef BOOST_WINDOWS
-#error Windows interlocked assign acquire included on non-Windows OS.
-#else
-
-#include <windows.h>
-
-#if WINVER < 0x0600
-#error Windows interlocked assign acquire included on pre-vista Windows OS.
-#else
-
-#include <boost/utility/enable_if.hpp>
-
-namespace boost { namespace act { namespace interlocked { namespace detail {
-
-template< typename ResultType, typename UnqualifiedType >
-struct assign_acquire_impl
-{
- typedef void type;
-
- template< typename LeftType, typename RightType >
- static
- typename enable_if_c
- <
- ( sizeof( LeftType ) == 4 )
- , ResultType
- >
- ::type
- execute( LeftType& left, RightType& right )
- {
- return ResultType
- (
- static_cast< UnqualifiedType >
- (
- InterlockedExchangeAcquire
- ( reinterpret_cast< LONG volatile* >( &left )
- , reinterpret_cast< LONG const& >( right )
- )
- )
- , right
- );
- }
-
- template< typename LeftType, typename RightType >
- static
- typename enable_if_c
- <
- ( sizeof( LeftType ) == 8 )
- , ResultType
- >
- ::type
- execute( LeftType& left, RightType& right )
- {
- return ResultType
- (
- static_cast< UnqualifiedType >
- (
- InterlockedExchange64Acquire
- ( reinterpret_cast< LONGLONG volatile* >( &left )
- , reinterpret_cast< LONGLONG const& >( right )
- )
- )
- , right
- );
- }
-
- template< typename LeftType, typename RightType >
- static
- ResultType
- execute( LeftType*& left, RightType*& right )
- {
- return ResultType
- (
- static_cast< UnqualifiedType >
- (
- InterlockedExchangePointerAcquire
- ( const_cast< void* volatile* >
- (
- reinterpret_cast< void const volatile* volatile* >( &left )
- )
- , const_cast< void* >( right )
- )
- )
- , right
- );
- }
-};
-
-} } } }
-
-#endif
-
-#endif
Deleted: sandbox/SOC/2006/concurrency/trunk/boost/act/interlocked/assign/detail/assign_impl.hpp
==============================================================================
--- sandbox/SOC/2006/concurrency/trunk/boost/act/interlocked/assign/detail/assign_impl.hpp 2007-06-15 20:08:34 EDT (Fri, 15 Jun 2007)
+++ (empty file)
@@ -1,20 +0,0 @@
-/*=============================================================================
- Copyright (c) 2006, 2007 Matthew Calabrese
-
- Use, modification and distribution is subject to 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)
-==============================================================================*/
-
-#ifndef BOOST_ACT_INTERLOCKED_ASSIGN_DETAIL_ASSIGN_IMPL_HPP
-#define BOOST_ACT_INTERLOCKED_ASSIGN_DETAIL_ASSIGN_IMPL_HPP
-
-#include <boost/config.hpp>
-
-#ifdef BOOST_WINDOWS
-
-#include <boost/act/interlocked/assign/detail/assign_windows.hpp>
-
-#endif
-
-#endif
Deleted: sandbox/SOC/2006/concurrency/trunk/boost/act/interlocked/assign_if_was/detail/assign_if_was_acquire_default_impl.hpp
==============================================================================
--- sandbox/SOC/2006/concurrency/trunk/boost/act/interlocked/assign_if_was/detail/assign_if_was_acquire_default_impl.hpp 2007-06-15 20:08:34 EDT (Fri, 15 Jun 2007)
+++ (empty file)
@@ -1,31 +0,0 @@
-/*=============================================================================
- Copyright (c) 2006, 2007 Matthew Calabrese
-
- Use, modification and distribution is subject to 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)
-==============================================================================*/
-
-#ifndef BOOST_ACT_INTERLOCKED_ASSIGN_IF_WAS_DETAIL_ASSIGN_IF_WAS_ACQDEF_IMPL_HPP
-#define BOOST_ACT_INTERLOCKED_ASSIGN_IF_WAS_DETAIL_ASSIGN_IF_WAS_ACQDEF_IMPL_HPP
-
-#include <boost/act/interlocked/assign_if_was/assign_if_was.hpp>
-
-namespace boost { namespace act { namespace interlocked { namespace detail {
-
-template< typename ResultType, typename UnqualifiedType >
-struct assign_if_was_acquire_default_impl
-{
- template< typename LeftType, typename RightType, typename OldType >
- static ResultType execute( LeftType& left, RightType& right
- , OldType& old
- )
- {
- return interlocked::assign_if_was( left, right, old );
- }
-};
-
-
-} } } }
-
-#endif
Deleted: sandbox/SOC/2006/concurrency/trunk/boost/act/interlocked/assign_if_was/detail/assign_if_was_acquire_impl.hpp
==============================================================================
--- sandbox/SOC/2006/concurrency/trunk/boost/act/interlocked/assign_if_was/detail/assign_if_was_acquire_impl.hpp 2007-06-15 20:08:34 EDT (Fri, 15 Jun 2007)
+++ (empty file)
@@ -1,26 +0,0 @@
-/*=============================================================================
- Copyright (c) 2006, 2007 Matthew Calabrese
-
- Use, modification and distribution is subject to 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)
-==============================================================================*/
-
-#ifndef BOOST_ACT_INTERLOCKED_ASSIGN_IF_WAS_DETAIL_ASSIGN_IF_WAS_ACQ_IMPL_HPP
-#define BOOST_ACT_INTERLOCKED_ASSIGN_IF_WAS_DETAIL_ASSIGN_IF_WAS_ACQ_IMPL_HPP
-
-#include <boost/config.hpp>
-
-#ifdef BOOST_WINDOWS
-
-#include <windows.h>
-
-#if WINVER >= 0x0600
-
-#include <boost/act/interlocked/assign_if_was/detail/assign_if_was_acquire_vista.hpp>
-
-#endif
-
-#endif
-
-#endif
Deleted: sandbox/SOC/2006/concurrency/trunk/boost/act/interlocked/assign_if_was/detail/assign_if_was_acquire_vista.hpp
==============================================================================
--- sandbox/SOC/2006/concurrency/trunk/boost/act/interlocked/assign_if_was/detail/assign_if_was_acquire_vista.hpp 2007-06-15 20:08:34 EDT (Fri, 15 Jun 2007)
+++ (empty file)
@@ -1,110 +0,0 @@
-/*=============================================================================
- Copyright (c) 2006, 2007 Matthew Calabrese
-
- Use, modification and distribution is subject to 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)
-==============================================================================*/
-
-#ifndef BOOST_ACT_INTERLOCKED_ASSIGN_IF_WAS_DETAIL_ASSIGN_IF_WAS_ACQ_VISTA_HPP
-#define BOOST_ACT_INTERLOCKED_ASSIGN_IF_WAS_DETAIL_ASSIGN_IF_WAS_ACQ_VISTA_HPP
-
-#include <boost/config.hpp>
-
-#ifndef BOOST_WINDOWS
-#error Windows interlocked assign acquire included on non-Windows OS.
-#else
-
-#include <windows.h>
-
-#if WINVER < 0x0600
-#error Windows interlocked assign acquire included on pre-vista Windows OS.
-#else
-
-#include <boost/utility/enable_if.hpp>
-
-namespace boost { namespace act { namespace interlocked { namespace detail {
-
-template< typename ResultType, typename UnqualifiedType >
-struct assign_if_was_acquire_impl
-{
- typedef void type;
-
- template< typename LeftType, typename RightType, typename OldType >
- static
- typename enable_if_c
- <
- ( sizeof( LeftType ) == 4 )
- , ResultType
- >
- ::type
- execute( LeftType& left, RightType& right, OldType& old )
- {
- return ResultType
- (
- static_cast< UnqualifiedType >
- (
- InterlockedCompareExchangeAcquire
- ( reinterpret_cast< LONG volatile* >( &left )
- , reinterpret_cast< LONG const& >( right )
- )
- )
- , right
- , old
- );
- }
-
- template< typename LeftType, typename RightType, typename OldType >
- static
- typename enable_if_c
- <
- ( sizeof( LeftType ) == 8 )
- , ResultType
- >
- ::type
- execute( LeftType& left, RightType& right, OldType& old )
- {
- return ResultType
- (
- static_cast< UnqualifiedType >
- (
- InterlockedCompareExchange64Acquire
- ( reinterpret_cast< LONGLONG volatile* >( &left )
- , reinterpret_cast< LONGLONG const& >( right )
- , reinterpret_cast< LONGLONG const& >( old )
- )
- )
- , right
- , old
- );
- }
-
- template< typename LeftType, typename RightType, typename OldType >
- static
- ResultType
- execute( LeftType*& left, RightType*& right, OldType*& old )
- {
- return ResultType
- (
- static_cast< UnqualifiedType >
- (
- InterlockedCompareExchangePointerAcquire
- ( const_cast< void* volatile* >
- (
- reinterpret_cast< void const volatile* volatile* >( &left )
- )
- , const_cast< void* >( right )
- , const_cast< void* >( old )
- )
- )
- , right
- , old
- );
- }
-};
-
-} } } }
-
-#endif
-
-#endif
Deleted: sandbox/SOC/2006/concurrency/trunk/boost/act/interlocked/assign_if_was/detail/assign_if_was_impl.hpp
==============================================================================
--- sandbox/SOC/2006/concurrency/trunk/boost/act/interlocked/assign_if_was/detail/assign_if_was_impl.hpp 2007-06-15 20:08:34 EDT (Fri, 15 Jun 2007)
+++ (empty file)
@@ -1,20 +0,0 @@
-/*=============================================================================
- Copyright (c) 2006, 2007 Matthew Calabrese
-
- Use, modification and distribution is subject to 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)
-==============================================================================*/
-
-#ifndef BOOST_ACT_INTERLOCKED_ASSIGN_IF_WAS_DETAIL_ASSIGN_IF_WAS_IMPL_HPP
-#define BOOST_ACT_INTERLOCKED_ASSIGN_IF_WAS_DETAIL_ASSIGN_IF_WAS_IMPL_HPP
-
-#include <boost/config.hpp>
-
-#ifdef BOOST_WINDOWS
-
-#include <boost/act/interlocked/assign_if_was/detail/assign_if_was_windows.hpp>
-
-#endif
-
-#endif
Deleted: sandbox/SOC/2006/concurrency/trunk/boost/act/interlocked/assign_if_was/detail/assign_if_was_release_default_impl.hpp
==============================================================================
--- sandbox/SOC/2006/concurrency/trunk/boost/act/interlocked/assign_if_was/detail/assign_if_was_release_default_impl.hpp 2007-06-15 20:08:34 EDT (Fri, 15 Jun 2007)
+++ (empty file)
@@ -1,31 +0,0 @@
-/*=============================================================================
- Copyright (c) 2006, 2007 Matthew Calabrese
-
- Use, modification and distribution is subject to 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)
-==============================================================================*/
-
-#ifndef BOOST_ACT_INTERLOCKED_ASSIGN_IF_WAS_DETAIL_ASSIGN_IF_WAS_RELDEF_IMPL_HPP
-#define BOOST_ACT_INTERLOCKED_ASSIGN_IF_WAS_DETAIL_ASSIGN_IF_WAS_RELDEF_IMPL_HPP
-
-#include <boost/act/interlocked/assign_if_was/assign_if_was.hpp>
-
-namespace boost { namespace act { namespace interlocked { namespace detail {
-
-template< typename ResultType, typename UnqualifiedType >
-struct assign_if_was_release_default_impl
-{
- template< typename LeftType, typename RightType, typename OldType >
- static ResultType execute( LeftType& left, RightType& right
- , OldType& old
- )
- {
- return interlocked::assign_if_was( left, right, old );
- }
-};
-
-
-} } } }
-
-#endif
Deleted: sandbox/SOC/2006/concurrency/trunk/boost/act/interlocked/assign_if_was/detail/assign_if_was_release_impl.hpp
==============================================================================
--- sandbox/SOC/2006/concurrency/trunk/boost/act/interlocked/assign_if_was/detail/assign_if_was_release_impl.hpp 2007-06-15 20:08:34 EDT (Fri, 15 Jun 2007)
+++ (empty file)
@@ -1,26 +0,0 @@
-/*=============================================================================
- Copyright (c) 2006, 2007 Matthew Calabrese
-
- Use, modification and distribution is subject to 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)
-==============================================================================*/
-
-#ifndef BOOST_ACT_INTERLOCKED_ASSIGN_IF_WAS_DETAIL_ASSIGN_IF_WAS_REL_IMPL_HPP
-#define BOOST_ACT_INTERLOCKED_ASSIGN_IF_WAS_DETAIL_ASSIGN_IF_WAS_REL_IMPL_HPP
-
-#include <boost/config.hpp>
-
-#ifdef BOOST_WINDOWS
-
-#include <windows.h>
-
-#if WINVER >= 0x0600
-
-#include <boost/act/interlocked/assign_if_was/detail/assign_if_was_release_vista.hpp>
-
-#endif
-
-#endif
-
-#endif
Deleted: sandbox/SOC/2006/concurrency/trunk/boost/act/interlocked/assign_if_was/detail/assign_if_was_release_vista.hpp
==============================================================================
--- sandbox/SOC/2006/concurrency/trunk/boost/act/interlocked/assign_if_was/detail/assign_if_was_release_vista.hpp 2007-06-15 20:08:34 EDT (Fri, 15 Jun 2007)
+++ (empty file)
@@ -1,110 +0,0 @@
-/*=============================================================================
- Copyright (c) 2006, 2007 Matthew Calabrese
-
- Use, modification and distribution is subject to 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)
-==============================================================================*/
-
-#ifndef BOOST_ACT_INTERLOCKED_ASSIGN_IF_WAS_DETAIL_ASSIGN_IF_WAS_REL_VISTA_HPP
-#define BOOST_ACT_INTERLOCKED_ASSIGN_IF_WAS_DETAIL_ASSIGN_IF_WAS_REL_VISTA_HPP
-
-#include <boost/config.hpp>
-
-#ifndef BOOST_WINDOWS
-#error Windows interlocked assign acquire included on non-Windows OS.
-#else
-
-#include <windows.h>
-
-#if WINVER < 0x0600
-#error Windows interlocked assign acquire included on pre-vista Windows OS.
-#else
-
-#include <boost/utility/enable_if.hpp>
-
-namespace boost { namespace act { namespace interlocked { namespace detail {
-
-template< typename ResultType, typename UnqualifiedType >
-struct assign_if_was_release_impl
-{
- typedef void type;
-
- template< typename LeftType, typename RightType, typename OldType >
- static
- typename enable_if_c
- <
- ( sizeof( LeftType ) == 4 )
- , ResultType
- >
- ::type
- execute( LeftType& left, RightType& right, OldType& old )
- {
- return ResultType
- (
- static_cast< UnqualifiedType >
- (
- InterlockedCompareExchangeRelease
- ( reinterpret_cast< LONG volatile* >( &left )
- , reinterpret_cast< LONG const& >( right )
- )
- )
- , right
- , old
- );
- }
-
- template< typename LeftType, typename RightType, typename OldType >
- static
- typename enable_if_c
- <
- ( sizeof( LeftType ) == 8 )
- , ResultType
- >
- ::type
- execute( LeftType& left, RightType& right, OldType& old )
- {
- return ResultType
- (
- static_cast< UnqualifiedType >
- (
- InterlockedCompareExchange64Release
- ( reinterpret_cast< LONGLONG volatile* >( &left )
- , reinterpret_cast< LONGLONG const& >( right )
- , reinterpret_cast< LONGLONG const& >( old )
- )
- )
- , right
- , old
- );
- }
-
- template< typename LeftType, typename RightType, typename OldType >
- static
- ResultType
- execute( LeftType*& left, RightType*& right, OldType*& old )
- {
- return ResultType
- (
- static_cast< UnqualifiedType >
- (
- InterlockedCompareExchangePointerRelease
- ( const_cast< void* volatile* >
- (
- reinterpret_cast< void const volatile* volatile* >( &left )
- )
- , const_cast< void* >( right )
- , const_cast< void* >( old )
- )
- )
- , right
- , old
- );
- }
-};
-
-} } } }
-
-#endif
-
-#endif
Deleted: sandbox/SOC/2006/concurrency/trunk/boost/act/interlocked/increment/detail/increment_acquire_default_impl.hpp
==============================================================================
--- sandbox/SOC/2006/concurrency/trunk/boost/act/interlocked/increment/detail/increment_acquire_default_impl.hpp 2007-06-15 20:08:34 EDT (Fri, 15 Jun 2007)
+++ (empty file)
@@ -1,42 +0,0 @@
-/*=============================================================================
- Copyright (c) 2006, 2007 Matthew Calabrese
-
- Use, modification and distribution is subject to 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)
-==============================================================================*/
-
-#ifndef BOOST_ACT_INTERLOCKED_INCREMENT_DETAIL_INCREMENT_ACQUIRE_DEF_IMPL_HPP
-#define BOOST_ACT_INTERLOCKED_INCREMENT_DETAIL_INCREMENT_ACQUIRE_DEF_IMPL_HPP
-
-#include <boost/act/interlocked/assign_if_was/assign_if_was_acquire.hpp>
-#include <boost/act/interlocked/safe_get.hpp>
-
-namespace boost { namespace act { namespace interlocked { namespace detail {
-
-template< typename ResultType, typename UnqualifiedType >
-struct increment_acquire_default_impl
-{
- template< typename TargetType >
- static ResultType execute( TargetType& target )
- {
- UnqualifiedType new_value;
-
- for( UnqualifiedType curr_value = safe_get( target )
- ; ( new_value = assign_if_was_acquire( target
- , curr_value + 1, curr_value
- )
- .old_value()
- )
- != curr_value
- ; curr_value = new_value
- );
-
- return new_value;
- }
-};
-
-
-} } } }
-
-#endif
Deleted: sandbox/SOC/2006/concurrency/trunk/boost/act/interlocked/increment/detail/increment_acquire_impl.hpp
==============================================================================
Deleted: sandbox/SOC/2006/concurrency/trunk/boost/act/interlocked/increment/detail/increment_default_impl.hpp
==============================================================================
--- sandbox/SOC/2006/concurrency/trunk/boost/act/interlocked/increment/detail/increment_default_impl.hpp 2007-06-15 20:08:34 EDT (Fri, 15 Jun 2007)
+++ (empty file)
@@ -1,40 +0,0 @@
-/*=============================================================================
- Copyright (c) 2006, 2007 Matthew Calabrese
-
- Use, modification and distribution is subject to 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)
-==============================================================================*/
-
-#ifndef BOOST_ACT_INTERLOCKED_INCREMENT_DETAIL_INCREMENT_DEFAULT_IMPL_HPP
-#define BOOST_ACT_INTERLOCKED_INCREMENT_DETAIL_INCREMENT_DEFAULT_IMPL_HPP
-
-#include <boost/act/interlocked/assign_if_was/assign_if_was.hpp>
-#include <boost/act/interlocked/safe_get.hpp>
-
-namespace boost { namespace act { namespace interlocked { namespace detail {
-
-template< typename ResultType, typename UnqualifiedType >
-struct increment_default_impl
-{
- template< typename TargetType >
- static ResultType execute( TargetType& target )
- {
- UnqualifiedType new_value;
-
- for( UnqualifiedType curr_value = safe_get( target )
- ; ( new_value = assign_if_was( target, curr_value + 1, curr_value )
- .old_value()
- )
- != curr_value
- ; curr_value = new_value
- );
-
- return new_value;
- }
-};
-
-
-} } } }
-
-#endif
Deleted: sandbox/SOC/2006/concurrency/trunk/boost/act/interlocked/increment/detail/increment_impl.hpp
==============================================================================
Deleted: sandbox/SOC/2006/concurrency/trunk/boost/act/interlocked/increment/detail/increment_release_default_impl.hpp
==============================================================================
--- sandbox/SOC/2006/concurrency/trunk/boost/act/interlocked/increment/detail/increment_release_default_impl.hpp 2007-06-15 20:08:34 EDT (Fri, 15 Jun 2007)
+++ (empty file)
@@ -1,42 +0,0 @@
-/*=============================================================================
- Copyright (c) 2006, 2007 Matthew Calabrese
-
- Use, modification and distribution is subject to 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)
-==============================================================================*/
-
-#ifndef BOOST_ACT_INTERLOCKED_INCREMENT_DETAIL_INCREMENT_RELEASE_DEF_IMPL_HPP
-#define BOOST_ACT_INTERLOCKED_INCREMENT_DETAIL_INCREMENT_RELEASE_DEF_IMPL_HPP
-
-#include <boost/act/interlocked/assign_if_was/assign_if_was_release.hpp>
-#include <boost/act/interlocked/safe_get.hpp>
-
-namespace boost { namespace act { namespace interlocked { namespace detail {
-
-template< typename ResultType, typename UnqualifiedType >
-struct increment_release_default_impl
-{
- template< typename TargetType >
- static ResultType execute( TargetType& target )
- {
- UnqualifiedType new_value;
-
- for( UnqualifiedType curr_value = safe_get( target )
- ; ( new_value = assign_if_was_release( target
- , curr_value + 1, curr_value
- )
- .old_value()
- )
- != curr_value
- ; curr_value = new_value
- );
-
- return new_value;
- }
-};
-
-
-} } } }
-
-#endif
Deleted: sandbox/SOC/2006/concurrency/trunk/boost/act/interlocked/increment/detail/increment_release_impl.hpp
==============================================================================
Deleted: sandbox/SOC/2006/concurrency/trunk/boost/act/interlocked/safe_get.hpp
==============================================================================
--- sandbox/SOC/2006/concurrency/trunk/boost/act/interlocked/safe_get.hpp 2007-06-15 20:08:34 EDT (Fri, 15 Jun 2007)
+++ (empty file)
@@ -1,42 +0,0 @@
-/*=============================================================================
- Copyright (c) 2006, 2007 Matthew Calabrese
-
- Use, modification and distribution is subject to 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)
-==============================================================================*/
-
-#ifndef BOOST_ACT_INTERLOCKED_SAFE_GET_HPP
-#define BOOST_ACT_INTERLOCKED_SAFE_GET_HPP
-
-#include <boost/act/config/interlocked/has_interlocked_operations.hpp>
-
-#ifdef BOOST_ACT_HAS_INTERLOCKED_OPERATIONS
-
-#include <boost/config.hpp>
-
-#ifdef BOOST_WINDOWS
-
-#include <boost/act/interlocked/integer/has_interlocked_operations.hpp>
-#include <boost/act/interlocked/integer/detail/interlocked_bool.hpp>
-
-#include <boost/utility/enable_if.hpp>
-
-namespace boost { namespace act { namespace interlocked {
-
-template< typename Type >
-typename enable_if
-<
- has_interlocked_operations< Type >
-, Type
->
-::type
-safe_get( Type volatile& target ) { return target; }
-
-} } }
-
-#endif
-
-#endif
-
-#endif
Deleted: sandbox/SOC/2006/concurrency/trunk/libs/act/test/Jamfile
==============================================================================
--- sandbox/SOC/2006/concurrency/trunk/libs/act/test/Jamfile 2007-06-15 20:08:34 EDT (Fri, 15 Jun 2007)
+++ (empty file)
@@ -1,18 +0,0 @@
-#==============================================================================
-# Copyright (c) 2006-2007 Matthew Calabrese
-#
-# Use, modification and distribution is subject to 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)
-#==============================================================================
-
-# bring in rules for testing
-import testing ;
-
-{
- test-suite act :
-
- [ run basic_worker_allocator.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