Boost logo

Boost-Commit :

From: chris_at_[hidden]
Date: 2007-09-20 18:20:59


Author: chris_kohlhoff
Date: 2007-09-20 18:20:57 EDT (Thu, 20 Sep 2007)
New Revision: 39429
URL: http://svn.boost.org/trac/boost/changeset/39429

Log:
Larger storage size needed for Windows x64.

Text files modified:
   trunk/boost/asio/detail/strand_service.hpp | 6 +++---
   1 files changed, 3 insertions(+), 3 deletions(-)

Modified: trunk/boost/asio/detail/strand_service.hpp
==============================================================================
--- trunk/boost/asio/detail/strand_service.hpp (original)
+++ trunk/boost/asio/detail/strand_service.hpp 2007-09-20 18:20:57 EDT (Thu, 20 Sep 2007)
@@ -136,9 +136,9 @@
     handler_base* last_waiter_;
 
     // Storage for posted handlers.
- typedef boost::aligned_storage<64> handler_storage_type;
+ typedef boost::aligned_storage<128> handler_storage_type;
 #if defined(__BORLANDC__)
- boost::aligned_storage<64> handler_storage_;
+ boost::aligned_storage<128> handler_storage_;
 #else
     handler_storage_type handler_storage_;
 #endif
@@ -236,7 +236,7 @@
     void* do_handler_allocate(std::size_t size)
     {
 #if defined(__BORLANDC__)
- BOOST_ASSERT(size <= boost::aligned_storage<64>::size);
+ BOOST_ASSERT(size <= boost::aligned_storage<128>::size);
 #else
       BOOST_ASSERT(size <= strand_impl::handler_storage_type::size);
 #endif


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