Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r51107 - sandbox/interthreads/boost/interthreads/typeof
From: vicente.botet_at_[hidden]
Date: 2009-02-08 16:02:44


Author: viboes
Date: 2009-02-08 16:02:43 EST (Sun, 08 Feb 2009)
New Revision: 51107
URL: http://svn.boost.org/trac/boost/changeset/51107

Log:
interthreads version 0.4
    * New free functions for all the AsynchronousCompletionToken operations, providing a higher degree of freedom.
    * Missing have_all_values(), have_all_exception() and are_all_ready() functions on AsynchronousCompletionToken fusion tuples.
    * get_all: getting all the values from a tuple of AsynchronousCompletionToken works now.
    * fork_after overloaded for a single dependency
    * wait_all overloaded for a single ACT.
    * wait_for_all evaluate one of its elements on the current thread
    * No need to use wait_and_get() on thread_specific_shared_ptr<> to synchronize with the decoration if the thread is created using a AsynchronousExecutor decorator. In this case the synchro is done before returning the AsynchronousCompletionToken. See the tutorial and the mono_thread_id example.

Text files modified:
   sandbox/interthreads/boost/interthreads/typeof/basic_threader.hpp | 7 ++++---
   sandbox/interthreads/boost/interthreads/typeof/future.hpp | 14 +++++++-------
   sandbox/interthreads/boost/interthreads/typeof/launcher.hpp | 6 +++---
   sandbox/interthreads/boost/interthreads/typeof/scheduler.hpp | 6 +++---
   sandbox/interthreads/boost/interthreads/typeof/threader.hpp | 6 +++---
   sandbox/interthreads/boost/interthreads/typeof/threader_decorator.hpp | 6 +++---
   6 files changed, 23 insertions(+), 22 deletions(-)

Modified: sandbox/interthreads/boost/interthreads/typeof/basic_threader.hpp
==============================================================================
--- sandbox/interthreads/boost/interthreads/typeof/basic_threader.hpp (original)
+++ sandbox/interthreads/boost/interthreads/typeof/basic_threader.hpp 2009-02-08 16:02:43 EST (Sun, 08 Feb 2009)
@@ -1,8 +1,8 @@
 //////////////////////////////////////////////////////////////////////////////
 //
-// (C) Copyright Vicente J. Botet Escriba 2008-20009.
-// Distributed under the Boost Software License, Version 1.0.
-// (See accompanying file LICENSE_1_0.txt or
+// (C) Copyright Vicente J. Botet Escriba 2008-2009.
+// Distributed under 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)
 //
 // Based on the unique_threader/unique_joiner design from of Kevlin Henney (n1883)
@@ -20,5 +20,6 @@
 #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
 
 BOOST_TYPEOF_REGISTER_TYPE(boost::interthreads::basic_threader)
+BOOST_TYPEOF_REGISTER_TYPE(boost::thread)
 
 #endif

Modified: sandbox/interthreads/boost/interthreads/typeof/future.hpp
==============================================================================
--- sandbox/interthreads/boost/interthreads/typeof/future.hpp (original)
+++ sandbox/interthreads/boost/interthreads/typeof/future.hpp 2009-02-08 16:02:43 EST (Sun, 08 Feb 2009)
@@ -1,8 +1,8 @@
 //////////////////////////////////////////////////////////////////////////////
 //
-// (C) Copyright Vicente J. Botet Escriba 2008-20009.
-// Distributed under the Boost Software License, Version 1.0.
-// (See accompanying file LICENSE_1_0.txt or
+// (C) Copyright Vicente J. Botet Escriba 2008-2009.
+// Distributed under 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)
 //
 // Based on the unique_threader/unique_joiner design from of Kevlin Henney (n1883)
@@ -19,9 +19,9 @@
 
 #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
 
-BOOST_TYPEOF_REGISTER_TEMPLATE(boost::interthreads::unique_future, 1)
-BOOST_TYPEOF_REGISTER_TEMPLATE(boost::interthreads::shared_future, 1)
-BOOST_TYPEOF_REGISTER_TEMPLATE(boost::interthreads::promise, 1)
-BOOST_TYPEOF_REGISTER_TEMPLATE(boost::interthreads::packaged_task, 1)
+BOOST_TYPEOF_REGISTER_TEMPLATE(boost::futures::unique_future, 1)
+BOOST_TYPEOF_REGISTER_TEMPLATE(boost::futures::shared_future, 1)
+BOOST_TYPEOF_REGISTER_TEMPLATE(boost::futures::promise, 1)
+BOOST_TYPEOF_REGISTER_TEMPLATE(boost::futures::packaged_task, 1)
 
 #endif

Modified: sandbox/interthreads/boost/interthreads/typeof/launcher.hpp
==============================================================================
--- sandbox/interthreads/boost/interthreads/typeof/launcher.hpp (original)
+++ sandbox/interthreads/boost/interthreads/typeof/launcher.hpp 2009-02-08 16:02:43 EST (Sun, 08 Feb 2009)
@@ -1,8 +1,8 @@
 //////////////////////////////////////////////////////////////////////////////
 //
-// (C) Copyright Vicente J. Botet Escriba 2008-20009.
-// Distributed under the Boost Software License, Version 1.0.
-// (See accompanying file LICENSE_1_0.txt or
+// (C) Copyright Vicente J. Botet Escriba 2008-2009.
+// Distributed under 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)
 //
 // Based on the unique_threader/unique_joiner design from of Kevlin Henney (n1883)

Modified: sandbox/interthreads/boost/interthreads/typeof/scheduler.hpp
==============================================================================
--- sandbox/interthreads/boost/interthreads/typeof/scheduler.hpp (original)
+++ sandbox/interthreads/boost/interthreads/typeof/scheduler.hpp 2009-02-08 16:02:43 EST (Sun, 08 Feb 2009)
@@ -1,8 +1,8 @@
 //////////////////////////////////////////////////////////////////////////////
 //
-// (C) Copyright Vicente J. Botet Escriba 2008-20009.
-// Distributed under the Boost Software License, Version 1.0.
-// (See accompanying file LICENSE_1_0.txt or
+// (C) Copyright Vicente J. Botet Escriba 2008-2009.
+// Distributed under 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)
 //
 // Based on the unique_threader/unique_joiner design from of Kevlin Henney (n1883)

Modified: sandbox/interthreads/boost/interthreads/typeof/threader.hpp
==============================================================================
--- sandbox/interthreads/boost/interthreads/typeof/threader.hpp (original)
+++ sandbox/interthreads/boost/interthreads/typeof/threader.hpp 2009-02-08 16:02:43 EST (Sun, 08 Feb 2009)
@@ -1,8 +1,8 @@
 //////////////////////////////////////////////////////////////////////////////
 //
-// (C) Copyright Vicente J. Botet Escriba 2008-20009.
-// Distributed under the Boost Software License, Version 1.0.
-// (See accompanying file LICENSE_1_0.txt or
+// (C) Copyright Vicente J. Botet Escriba 2008-2009.
+// Distributed under 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)
 //
 // Based on the unique_threader/unique_joiner design from of Kevlin Henney (n1883)

Modified: sandbox/interthreads/boost/interthreads/typeof/threader_decorator.hpp
==============================================================================
--- sandbox/interthreads/boost/interthreads/typeof/threader_decorator.hpp (original)
+++ sandbox/interthreads/boost/interthreads/typeof/threader_decorator.hpp 2009-02-08 16:02:43 EST (Sun, 08 Feb 2009)
@@ -1,8 +1,8 @@
 //////////////////////////////////////////////////////////////////////////////
 //
-// (C) Copyright Vicente J. Botet Escriba 2008-20009.
-// Distributed under the Boost Software License, Version 1.0.
-// (See accompanying file LICENSE_1_0.txt or
+// (C) Copyright Vicente J. Botet Escriba 2008-2009.
+// Distributed under 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)
 //
 // Based on the unique_threader/unique_joiner design from of Kevlin Henney (n1883)


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