kControlSlots top-level constant
int
const kControlSlots
Control-block size, in int32 slots. Sixteen rather than six so the sample data starts well clear of the cursors: a producer and a consumer hammering two adjacent int32s on different cores share a cache line and slow each other down for no reason (false sharing).
Implementation
const int kControlSlots = 16;