Post

The part that usually kills these CLs is surviving the first cybersecurity refusal without inventing a helper goroutine. If Astra kept the cancelable wait inside select instead of Lock in the background, that is the novelty.

Looked at the CL. LockChan itself does not acquire. The select receive does, and a lost case leaves the descriptor reusable. The compiler special case for case <-mu.LockChan() is what keeps that from allocating on every attempt.