Intel Threading Building Blocks 2.1 for Open Source

Namespaces | Classes | Functions

tbb::interface5 Namespace Reference

Namespaces

namespace  internal

Classes

class  concurrent_unordered_map
class  concurrent_unordered_map_traits
class  enumerable_thread_specific
class  filter_t
 Class representing a chain of type-safe pipeline filters. More...
class  flattened2d
class  flow_control
class  reader_writer_lock
 Writer-preference reader-writer lock with local-only spinning on readers. More...

Functions

template<typename Container >
flattened2d< Container > flatten2d (const Container &c, const typename Container::const_iterator b, const typename Container::const_iterator e)
template<typename Container >
flattened2d< Container > flatten2d (const Container &c)
template<typename T , typename U , typename Body >
filter_t< T, U > make_filter (tbb::filter::mode mode, const Body &body)
template<typename T , typename V , typename U >
filter_t< T, U > operator& (const filter_t< T, V > &left, const filter_t< V, U > &right)
void parallel_pipeline (size_t max_number_of_live_tokens, const filter_t< void, void > &filter_chain, tbb::task_group_context &context)
void parallel_pipeline (size_t max_number_of_live_tokens, const filter_t< void, void > &filter_chain)

Function Documentation

template<typename Container >
flattened2d<Container> tbb::interface5::flatten2d ( const Container &  c,
const typename Container::const_iterator  b,
const typename Container::const_iterator  e 
)

Definition at line 1030 of file enumerable_thread_specific.h.

                                                                                                                                             {
        return flattened2d<Container>(c, b, e);
    }

template<typename Container >
flattened2d<Container> tbb::interface5::flatten2d ( const Container &  c  ) 

Definition at line 1035 of file enumerable_thread_specific.h.

                                                         {
        return flattened2d<Container>(c);
    }

template<typename T , typename U , typename Body >
filter_t<T,U> tbb::interface5::make_filter ( tbb::filter::mode  mode,
const Body body 
)

Definition at line 445 of file pipeline.h.

                                                                {
    return new internal::filter_node_leaf<T,U,Body>(mode, body);
}

template<typename T , typename V , typename U >
filter_t<T,U> tbb::interface5::operator& ( const filter_t< T, V > &  left,
const filter_t< V, U > &  right 
)

Definition at line 450 of file pipeline.h.

                                                                                {
    __TBB_ASSERT(left.root,"cannot use default-constructed filter_t as left argument of '&'");
    __TBB_ASSERT(right.root,"cannot use default-constructed filter_t as right argument of '&'");
    return new internal::filter_node_join(*left.root,*right.root);
}

void tbb::interface5::parallel_pipeline ( size_t  max_number_of_live_tokens,
const filter_t< void, void > &  filter_chain,
tbb::task_group_context context 
) [inline]

Definition at line 506 of file pipeline.h.

Referenced by parallel_pipeline().

      {
    internal::pipeline_proxy pipe(filter_chain);
    // tbb::pipeline::run() is called via the proxy
    pipe->run(max_number_of_live_tokens
#if __TBB_TASK_GROUP_CONTEXT
              , context
#endif
    );
}

void tbb::interface5::parallel_pipeline ( size_t  max_number_of_live_tokens,
const filter_t< void, void > &  filter_chain 
) [inline]

Definition at line 521 of file pipeline.h.

References parallel_pipeline().

                                                                                                         {
    tbb::task_group_context context;
    parallel_pipeline(max_number_of_live_tokens, filter_chain, context);
}


Copyright © 2005-2010 Intel Corporation. All Rights Reserved.

Licensed under the GNU General Public License 2 with the runtime exception.

Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are registered trademarks or trademarks of Intel Corporation or its subsidiaries in the United States and other countries.

* Other names and brands may be claimed as the property of others.