Home ⌂Doc Index ◂Up ▴
Intel(R) Threading Building Blocks Doxygen Documentation  version 4.2.3
tbb::internal::micro_queue_pop_finalizer Class Reference
Inheritance diagram for tbb::internal::micro_queue_pop_finalizer:
Collaboration diagram for tbb::internal::micro_queue_pop_finalizer:

Public Member Functions

 micro_queue_pop_finalizer (micro_queue &queue, concurrent_queue_base &b, ticket k, page *p)
 
 ~micro_queue_pop_finalizer ()
 

Private Types

typedef concurrent_queue_base::page page
 

Private Attributes

ticket my_ticket
 
micro_queuemy_queue
 
pagemy_page
 
concurrent_queue_basebase
 

Additional Inherited Members

- Private Member Functions inherited from tbb::internal::no_copy
 no_copy (const no_copy &)=delete
 
 no_copy ()=default
 

Detailed Description

Definition at line 77 of file concurrent_queue.cpp.

Member Typedef Documentation

◆ page

Constructor & Destructor Documentation

◆ micro_queue_pop_finalizer()

tbb::internal::micro_queue_pop_finalizer::micro_queue_pop_finalizer ( micro_queue queue,
concurrent_queue_base b,
ticket  k,
page p 
)
inline

Definition at line 84 of file concurrent_queue.cpp.

84  :
85  my_ticket(k), my_queue(queue), my_page(p), base(b)
86  {}
void const char const char int ITT_FORMAT __itt_group_sync p

◆ ~micro_queue_pop_finalizer()

tbb::internal::micro_queue_pop_finalizer::~micro_queue_pop_finalizer ( )
inline

Definition at line 87 of file concurrent_queue.cpp.

87  {
88  page* p = my_page;
89  if( p ) {
91  page* q = p->next;
92  my_queue.head_page = q;
93  if( !q ) {
94  my_queue.tail_page = NULL;
95  }
96  }
98  if( p )
100  }
void const char const char int ITT_FORMAT __itt_group_sync p
virtual void deallocate_page(page *p)=0
custom de-allocator
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 __itt_model_task_instance ITT_FORMAT p void * lock
friend class scoped_lock
Definition: spin_mutex.h:179

References base, tbb::internal::concurrent_queue_base_v3::deallocate_page(), tbb::internal::micro_queue::head_counter, tbb::internal::micro_queue::head_page, lock, my_page, my_queue, my_ticket, p, tbb::internal::micro_queue::page_mutex, and tbb::internal::micro_queue::tail_page.

Here is the call graph for this function:

Member Data Documentation

◆ base

concurrent_queue_base& tbb::internal::micro_queue_pop_finalizer::base
private

Definition at line 82 of file concurrent_queue.cpp.

Referenced by ~micro_queue_pop_finalizer().

◆ my_page

page* tbb::internal::micro_queue_pop_finalizer::my_page
private

Definition at line 81 of file concurrent_queue.cpp.

Referenced by ~micro_queue_pop_finalizer().

◆ my_queue

micro_queue& tbb::internal::micro_queue_pop_finalizer::my_queue
private

Definition at line 80 of file concurrent_queue.cpp.

Referenced by ~micro_queue_pop_finalizer().

◆ my_ticket

ticket tbb::internal::micro_queue_pop_finalizer::my_ticket
private

Definition at line 79 of file concurrent_queue.cpp.

Referenced by ~micro_queue_pop_finalizer().


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.