Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r58661 - in sandbox/task: boost/task libs/task/examples/sync
From: oliver.kowalke_at_[hidden]
Date: 2010-01-03 15:50:13


Author: olli
Date: 2010-01-03 15:50:13 EST (Sun, 03 Jan 2010)
New Revision: 58661
URL: http://svn.boost.org/trac/boost/changeset/58661

Log:
- corrections
Text files modified:
   sandbox/task/boost/task/task.hpp | 2 +-
   sandbox/task/libs/task/examples/sync/ping_pong.cpp | 2 +-
   2 files changed, 2 insertions(+), 2 deletions(-)

Modified: sandbox/task/boost/task/task.hpp
==============================================================================
--- sandbox/task/boost/task/task.hpp (original)
+++ sandbox/task/boost/task/task.hpp 2010-01-03 15:50:13 EST (Sun, 03 Jan 2010)
@@ -359,7 +359,7 @@
 class task
 {
 private:
- template< typename T >
+ template< typename T, typename P >
         friend class detail::callable_object;
 
         BOOST_MOVABLE_BUT_NOT_COPYABLE( task);

Modified: sandbox/task/libs/task/examples/sync/ping_pong.cpp
==============================================================================
--- sandbox/task/libs/task/examples/sync/ping_pong.cpp (original)
+++ sandbox/task/libs/task/examples/sync/ping_pong.cpp 2010-01-03 15:50:13 EST (Sun, 03 Jan 2010)
@@ -21,7 +21,7 @@
                 fifo_t & send_buf,
                 boost::tasks::spin::barrier & b)
 {
- sleep( 1);
+ boost::this_thread::sleep( boost::posix_time::seconds( 1) );
         b.wait();
 
         std::stringstream tss;


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