#include <synchro.h>
Inheritance diagram for rpa::spawn< ThreadTree, Ftor >:

Public Types | |
| typedef Ftor::result_type | result_type |
Public Member Functions | |
| spawn (const present_type &presTyp) | |
| The sub-thread is started by the constructor of the future. | |
| const result_type & | result (void) |
Private Types | |
| typedef present< ThreadTree, Ftor > | present_type |
| typedef future< typename present< ThreadTree, Ftor >::functor_type, typename ThreadTree::head_thread_type > | future_type |
| We must store an extra reference - maybe we could get rid of it. | |
typedef future< typename present< ThreadTree, Ftor >::functor_type, typename ThreadTree::head_thread_type > rpa::spawn< ThreadTree, Ftor >::future_type [private] |
We must store an extra reference - maybe we could get rid of it.
Reimplemented from rpa::present< ThreadTree, Ftor >.
typedef present< ThreadTree, Ftor > rpa::spawn< ThreadTree, Ftor >::present_type [private] |
| typedef Ftor::result_type rpa::spawn< ThreadTree, Ftor >::result_type |
Reimplemented from rpa::future< Ftor, Thr >.
| rpa::spawn< ThreadTree, Ftor >::spawn | ( | const present_type & | presTyp | ) | [inline] |
The sub-thread is started by the constructor of the future.
| const result_type& rpa::spawn< ThreadTree, Ftor >::result | ( | void | ) | [inline] |
All the variables that the 'future' points to are stored in 'spawn'. Which should REALLY inhibit 'this->result()' which is invalid when this thread is running.
1.4.7