Home ⌂Doc Index ◂Up ▴
Intel(R) Threading Building Blocks Doxygen Documentation  version 4.2.3
tbb::internal::task_stream_accessor< accessor > Class Template Reference

#include <task_stream_extended.h>

Inheritance diagram for tbb::internal::task_stream_accessor< accessor >:
Collaboration diagram for tbb::internal::task_stream_accessor< accessor >:

Protected Types

typedef queue_and_mutex< task *, spin_mutexlane_t
 
- Protected Types inherited from tbb::internal::task_stream_base
typedef queue_and_mutex< task *, spin_mutexlane_t
 

Protected Member Functions

taskget_item (lane_t::queue_base_t &queue)
 

Detailed Description

template<task_stream_accessor_type accessor>
class tbb::internal::task_stream_accessor< accessor >

Specializes from which side of the underlying container elements are retrieved. Method must be called under corresponding mutex locked.

Definition at line 136 of file task_stream_extended.h.

Member Typedef Documentation

◆ lane_t

template<task_stream_accessor_type accessor>
typedef queue_and_mutex<task*, spin_mutex> tbb::internal::task_stream_base::lane_t
protected

Definition at line 128 of file task_stream_extended.h.

Member Function Documentation

◆ get_item()

template<task_stream_accessor_type accessor>
task* tbb::internal::task_stream_accessor< accessor >::get_item ( lane_t::queue_base_t queue)
inlineprotected

Definition at line 139 of file task_stream_extended.h.

139  {
140  task* result = queue.front();
141  queue.pop_front();
142  return result;
143  }
void const char const char int ITT_FORMAT __itt_group_sync x void const char ITT_FORMAT __itt_group_sync s void ITT_FORMAT __itt_group_sync p void ITT_FORMAT p void ITT_FORMAT p no args __itt_suppress_mode_t unsigned int void size_t ITT_FORMAT d void ITT_FORMAT p void ITT_FORMAT p __itt_model_site __itt_model_site_instance ITT_FORMAT p __itt_model_task * task

Referenced by tbb::internal::task_stream< num_priority_levels >::try_pop().

Here is the caller graph for this function:

The documentation for this class was generated from the following file:

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

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.