Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r57789 - in sandbox/fiber: boost/fiber/detail libs/fiber/src
From: oliver.kowalke_at_[hidden]
Date: 2009-11-19 14:47:29


Author: olli
Date: 2009-11-19 14:47:28 EST (Thu, 19 Nov 2009)
New Revision: 57789
URL: http://svn.boost.org/trac/boost/changeset/57789

Log:
- bugfix related to Windows
Text files modified:
   sandbox/fiber/boost/fiber/detail/fiber_info_base_windows.hpp | 4 ++--
   sandbox/fiber/libs/fiber/src/fiber_windows.cpp | 2 +-
   2 files changed, 3 insertions(+), 3 deletions(-)

Modified: sandbox/fiber/boost/fiber/detail/fiber_info_base_windows.hpp
==============================================================================
--- sandbox/fiber/boost/fiber/detail/fiber_info_base_windows.hpp (original)
+++ sandbox/fiber/boost/fiber/detail/fiber_info_base_windows.hpp 2009-11-19 14:47:28 EST (Thu, 19 Nov 2009)
@@ -41,8 +41,8 @@
         typedef std::stack< callable_t > callable_stack_t;
 
         uint32_t use_count;
- std::size_t stacksize_;
- int priority_;
+ std::size_t stack_size;
+ int priority;
         LPVOID uctx;
         fiber_state_t state;
         fiber_interrupt_t interrupt;

Modified: sandbox/fiber/libs/fiber/src/fiber_windows.cpp
==============================================================================
--- sandbox/fiber/libs/fiber/src/fiber_windows.cpp (original)
+++ sandbox/fiber/libs/fiber/src/fiber_windows.cpp 2009-11-19 14:47:28 EST (Thu, 19 Nov 2009)
@@ -49,7 +49,7 @@
         if ( ! info_base_) throw fiber_moved();
 
         info_base_->uctx = ::CreateFiber(
- info_->stack_size,
+ info_base_->stack_size,
                 static_cast< LPFIBER_START_ROUTINE >( & trampoline),
                 static_cast< LPVOID >( info_base_.get() ) );
 }


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