[#CuckooCache-bit_packed_atomic_flags-bit_set]
= xref:CuckooCache.adoc[CuckooCache]::xref:CuckooCache/bit_packed_atomic_flags.adoc[bit&lowbar;packed&lowbar;atomic&lowbar;flags]::bit&lowbar;set
:relfileprefix: ../../
:mrdocs:

bit&lowbar;set sets an entry as discardable&period;

== Synopsis

Declared in `&lt;cuckoocache&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
bit&lowbar;set(uint32&lowbar;t s);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *s*
| the index of the entry to bit&lowbar;set
|===

== Postconditions

* immediately subsequent call (assuming proper external memory ordering) to bit&lowbar;is&lowbar;set(s) &equals;&equals; true&period;


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