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

#include <task_stream_extended.h>

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

Protected Member Functions

taskget_item (lane_t::queue_base_t &queue)
 

Additional Inherited Members

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

Detailed Description

template<>
class tbb::internal::task_stream_accessor< back_nonnull_accessor >

Definition at line 147 of file task_stream_extended.h.

Member Function Documentation

◆ get_item()

Definition at line 149 of file task_stream_extended.h.

149  {
150  task* result = NULL;
151  do {
152  result = queue.back();
153  queue.pop_back();
154  } while( !result && !queue.empty() );
155  return result;
156  }
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

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.