Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
NCollection_IncAllocator::IBlock Struct Reference

Forward list to keep multi-time allocated pointers. On Reset operation objects will be reused. More...

#include <NCollection_IncAllocator.hxx>

Public Member Functions

 IBlock (void *thePointer, const size_t theSize)
 

Data Fields

std::atomic< char * > CurPointer
 Atomic for lock-free bump under shared lock.
 
std::atomic< size_tAvailableSize
 Atomic for CAS-based space reservation under shared lock.
 
IBlockNextBlock = nullptr
 Pointer to next sorted block.
 
IBlockNextOrderedBlock = nullptr
 Pointer to next ordered block.
 

Detailed Description

Forward list to keep multi-time allocated pointers. On Reset operation objects will be reused.

Constructor & Destructor Documentation

◆ IBlock()

NCollection_IncAllocator::IBlock::IBlock ( void * thePointer,
const size_t theSize )

Field Documentation

◆ AvailableSize

std::atomic<size_t> NCollection_IncAllocator::IBlock::AvailableSize

Atomic for CAS-based space reservation under shared lock.

◆ CurPointer

std::atomic<char*> NCollection_IncAllocator::IBlock::CurPointer

Atomic for lock-free bump under shared lock.

◆ NextBlock

IBlock* NCollection_IncAllocator::IBlock::NextBlock = nullptr

Pointer to next sorted block.

◆ NextOrderedBlock

IBlock* NCollection_IncAllocator::IBlock::NextOrderedBlock = nullptr

Pointer to next ordered block.


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