CuckooCache::bit_packed_atomic_flags::bit_set

bit_set sets an entry as discardable.

Synopsis

Declared in <cuckoocache.h>

void
bit_set(uint32_t s);

Parameters

NameDescription
sthe index of the entry to bit_set

Postconditions

  • immediately subsequent call (assuming proper external memory ordering) to bit_is_set(s) == true.