Mark the specified index as available (empty) in the next generation.

Synopsis

Declared in <bdlcc_fixedqueueindexmanager.h>

void
commitPopIndex(
    unsigned int generation,
    unsigned int index);

Description

Mark the specified index as available (empty) in the generation following the specified generation. The behavior is undefined unless generation and index' match those returned by a previous successful call to reservePopIndex (that has not previously been committed).

Parameters

Name

Description

generation

generation of the reserved index

index

previously reserved buffer index

Created with MrDocs