Files
ardour/libs
Hector Martin f87de76b9f RCU: Fix race condition between writer/reader
This uses an atomic counter and spins only on the writer side, which
preserves realtime behavior on the reader side. The spinning yields (by
using the same Boost function from Boost spinlocks) to be
scheduler-friendly.

Fixing this bug also lets us be able to confidently drop garbage early
in the writer if appropriate, so do that and avoid keeping dead wood if
possible.

This reverts commit f95439a502:
"add spinlock to RCU manager to protect concurrent reader() and update() calls"
2020-11-10 17:05:16 +01:00
..
2020-11-09 20:06:49 +01:00
2020-07-09 02:10:28 +02:00
2020-11-02 01:57:03 +01:00
2020-03-02 17:58:03 +01:00
2020-03-23 17:38:08 +01:00
2020-01-22 02:00:25 +01:00
2020-10-24 16:06:04 -07:00
2019-09-03 05:01:59 +02:00
2020-03-29 14:56:22 +02:00