[#BloombergLP-bdlcc-FixedQueueIndexManager-abortPushIndexReservation]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/FixedQueueIndexManager.adoc[FixedQueueIndexManager]::abortPushIndexReservation
:relfileprefix: ../../../
:mrdocs:

Release the specified `index` and make it available for use in the generation following the specified `generation`&period; The behavior is undefined unless the calling thread holds a reservation on `generation` and `index`, and `clearPopIndex` and then `commitPushIndex` have been repeatedly invoked with `generation` and `index` as input until no indices remain to clear&period; Note that this operation is used to facilitate removing all the elements in a circular buffer if an exception is thrown between reserving an index for pushing, and committing that index&period;

== Synopsis

Declared in `&lt;bdlcc&lowbar;fixedqueueindexmanager&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
abortPushIndexReservation(
    unsigned int generation,
    unsigned int index);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
