Intel(R) Threading Building Blocks Doxygen Documentation  version 4.2.3
tbb::interface5::internal::hash_map_base::enable_segment_failsafe Struct Reference

Exception safety helper. More...

#include <concurrent_hash_map.h>

Inheritance diagram for tbb::interface5::internal::hash_map_base::enable_segment_failsafe:
Collaboration diagram for tbb::interface5::internal::hash_map_base::enable_segment_failsafe:

Public Member Functions

 enable_segment_failsafe (segments_table_t &table, segment_index_t k)
 
 ~enable_segment_failsafe ()
 
- Public Member Functions inherited from tbb::internal::no_copy
 no_copy ()
 Allow default construction. More...
 

Public Attributes

segment_ptr_tmy_segment_ptr
 

Detailed Description

Exception safety helper.

Definition at line 176 of file concurrent_hash_map.h.

Constructor & Destructor Documentation

◆ enable_segment_failsafe()

tbb::interface5::internal::hash_map_base::enable_segment_failsafe::enable_segment_failsafe ( segments_table_t table,
segment_index_t  k 
)
inline

◆ ~enable_segment_failsafe()

tbb::interface5::internal::hash_map_base::enable_segment_failsafe::~enable_segment_failsafe ( )
inline

Definition at line 179 of file concurrent_hash_map.h.

179  {
180  if( my_segment_ptr ) *my_segment_ptr = 0; // indicate no allocation in progress
181  }

Member Data Documentation

◆ my_segment_ptr

segment_ptr_t* tbb::interface5::internal::hash_map_base::enable_segment_failsafe::my_segment_ptr

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

Copyright © 2005-2019 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.