Apex › Systems & OS

RCU — Read-Copy-Update

The Linux kernel's trick for near-free reads of shared data. Readers take no lock and never block; a writer copies the data, modifies the copy, and atomically publishes it — then waits out a grace period before freeing the old version, so no reader is ever left holding a freed pointer. Add readers, run writer updates, and watch old versions linger until their last reader leaves.

More in Systems & OS