template<typename T, typename M = spin_rw_mutex>
class internal::broadcast_cache< T, M >
A cache of successors that are broadcast to.
Definition at line 465 of file _flow_graph_cache_impl.h.
template<typename T , typename M = spin_rw_mutex>
Implements internal::successor_cache< T, spin_rw_mutex >.
Definition at line 478 of file _flow_graph_cache_impl.h.
479 #endif // __TBB_PREVIEW_ASYNC_MSG
480 task * last_task = NULL;
481 bool upgraded =
true;
482 typename mutex_type::scoped_lock l(this->
my_mutex, upgraded);
483 typename successors_type::iterator i = this->
my_successors.begin();
485 task *new_task = (*i)->try_put_task(t);
487 graph& graph_ref = (*i)->graph_reference();
493 if ( (*i)->register_predecessor(*this->my_owner) ) {
495 l.upgrade_to_writer();
Referenced by internal::continue_input< Output, internal::Policy< void > >::apply_body_bypass(), internal::function_input< Input, continue_msg, queueing, cache_aligned_allocator< Input > >::apply_body_impl_bypass(), internal::indexer_node_base< InputTuple, OutputType, StructTypes >::handle_operations(), internal::function_output< continue_msg >::try_put_task(), and internal::multifunction_output< Output >::try_put_task().