|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r50667 - sandbox/interthreads/libs/interthreads/doc
From: vicente.botet_at_[hidden]
Date: 2009-01-18 18:57:46
Author: viboes
Date: 2009-01-18 18:57:46 EST (Sun, 18 Jan 2009)
New Revision: 50667
URL: http://svn.boost.org/trac/boost/changeset/50667
Log:
interthreads version 0.3
Adding fork_after and act traits
Text files modified:
sandbox/interthreads/libs/interthreads/doc/appendices.qbk | 13 ++++++++++++-
sandbox/interthreads/libs/interthreads/doc/changes.qbk | 21 ++++++++++++++++-----
sandbox/interthreads/libs/interthreads/doc/overview.qbk | 11 +++++++++--
3 files changed, 37 insertions(+), 8 deletions(-)
Modified: sandbox/interthreads/libs/interthreads/doc/appendices.qbk
==============================================================================
--- sandbox/interthreads/libs/interthreads/doc/appendices.qbk (original)
+++ sandbox/interthreads/libs/interthreads/doc/appendices.qbk 2009-01-18 18:57:46 EST (Sun, 18 Jan 2009)
@@ -25,8 +25,19 @@
[heading Tasks to do before review]
[variablelist
+[[Solve the bugs] [v0.3#1 v0.3#2 v0.3#3 v0.2#1 v0.2#2]]
+
+[[Add polymorph act and adapters] []]
+
+[[Add examples] [ae/act framework.]]
+
+[[Complete the reference] [ae/act framework, typeof.]]
+
+[[Change the rational and implementation sections] []]
+
[[Use set_once to implement wait_for_any] [The current implementation uses the Boost.Futures
-wait_for_any to implement this feauture, which add an superflous constraint be able to get a future to all the AE/ACT.]]
+wait_for_any to implement this feauture, which add an superflous constraint be able to get a future to all the AE/ACT.
+In adition the wait_for_any has now 0(N) complexity.]]
[[Complete the tests] [Even if the current release incluse more test here is yet a long way before been able to review the library.]]
Modified: sandbox/interthreads/libs/interthreads/doc/changes.qbk
==============================================================================
--- sandbox/interthreads/libs/interthreads/doc/changes.qbk (original)
+++ sandbox/interthreads/libs/interthreads/doc/changes.qbk 2009-01-18 18:57:46 EST (Sun, 18 Jan 2009)
@@ -7,14 +7,22 @@
[section:changes Appendix A: History]
-[heading [*Version 0.2, December 07, 2009] Asynchronous execution and test on more toolsets]
+[heading [*Version 0.3, January 19, 2009] Asynchronous execution and test on more toolsets]
+
+[*Features:]
+
+* fork_after: request the AE to execute a function asynchronously once each one of ACTs in the dependency tuple parameter are ready.
+* Add act traits, as value type, is movable, has_future_if, has_thread_if
+
+
+[heading [*Version 0.2, January 14, 2009] Asynchronous execution and test on more toolsets]
[*Features:]
* Asynchronous executors (AE) and asynchronous completion token (ACT) framework
* fork and fork_all functions
* wait_for_all, wait_for_any functions
- * get_all, join_all, ...
+ * set_all, join_all, ...
* unique/shared threader (AE) and unique/shared joiner(ACT) classes
* basic_threader(AE) class
* unique/shared launcher(AE) class
@@ -30,7 +38,7 @@
* Tested on Linux gcc 4.1.2.
* Modification helping Windows (not tested)
-[*Bugs:]
+[*Closed Bugs:]
* basic_keep_alive example do not link.
@@ -45,9 +53,12 @@
[heading [*Bugs:]]
-[*v0.2#2: Some trouble with the use of tp::pool firectly, use scheduler instead.]
+[*v0.3#3: scheduler::do_test_fork_after_wait do not work yet.]
+[*v0.3#2: scheduler::do_test_fork_after_get do not work yet.]
+[*v0.3#1: scheduler::do_test_wait_for_any do not work yet.]
-[*v0.2#1: get_all do not work yet, use set_all instead.]
+[*v0.2#2: Some trouble with the use of tp::pool directly, use scheduler instead.]
+[*v0.2#1: ae::get_all do not work yet, use set_all instead.]
get_all do not work because fusion transform sequence function can not take non const sequences.
Maybe we can emulate it using set_all and a mpl a transformation for a tuple of ACT to a tuple of result_type.
Modified: sandbox/interthreads/libs/interthreads/doc/overview.qbk
==============================================================================
--- sandbox/interthreads/libs/interthreads/doc/overview.qbk (original)
+++ sandbox/interthreads/libs/interthreads/doc/overview.qbk 2009-01-18 18:57:46 EST (Sun, 18 Jan 2009)
@@ -18,6 +18,12 @@
* threader/joiner: A Threader runs a unary function in its own thread. A Joiner is used to synchronise with and pick
up the result from the unary function.
+* An asynchronous execution framework including
+ * fork and fork_all functions
+ * wait_for_all, wait_for_any functions
+ * set_all, join_all, ...
+ * fork_after: request the AE to execute a function asynchronously once each one of ACTs in the dependency tuple parameter are ready. It is similar to the async_with_dependencies proposed Peter Dimov.
+
* thread decorator: thread_decorator allows to define setup/cleanup functions which will be called only once by thread:
setup before the thread function and cleanup at thread exit.
@@ -41,14 +47,15 @@
* thread_group_once: an extension of the boost::thread_group which allows to join the thread finishing
the first, using for that the set_once synchronizer.
-thread_decorator and thread_specific_shared_ptr are based on the original implementation of
+* thread_decorator and thread_specific_shared_ptr are based on the original implementation of
[@http://www.boost-consulting.com/vault/index.php?directory=Concurrent%20Programming [*threadalert]]
written by Roland Schwarz.
-threader/joiner are based on the original idea of Kevlin Henney
+* threader/joiner are based on the original idea of Kevlin Henney
[@http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2005/n1883.pdf Preliminary Threading Library
Proposal for TR2]
+
[/====================================]
[heading How to Use This Documentation]
[/====================================]
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