| 344 | typedef std::vector<void*, allocator<void*>> hp_vector; |
| 345 | |
| 346 | inline void copy_hazards( hp_vector& vect, guard const* arr, size_t size ) |
| 347 | { |
| 348 | for ( guard const* end = arr + size; arr != end; ++arr ) { |
| 349 | void* hp = arr->get( atomics::memory_order_relaxed ); |
| 350 | if ( hp ) |
| 351 | vect.push_back( hp ); |
| 352 | } |
| 353 | } |
| 354 | |
| 355 | inline size_t retire_data( hp_vector const& plist, retired_array& stg, retired_block* block, size_t block_size ) |
| 356 | { |