Inside Go’s sync.Mutex: Spinning, the 1 Millisecond Rule, and the Semaphore Queue
Every Go programmer has typed mu.Lock() ten thousand times without asking what it costs. The answer is surprising: in the
Continue readingInside Go’s sync.Mutex: Spinning, the 1 Millisecond Rule, and the Semaphore Queue