The Concurrency Trap: How an Atomic Counter Stalled a Pipeline