Working on High-Performance Golang Client Library — Remove the Bad Busy Loops With the Sync.Cond | by Ruian | Feb, 2022

Use sync.Cond with and without the sync.Mutex

Photo by Paul MARSAN on Unsplash
Benchmark source code: https://gist.github.com/rueian/ffa36c008be14717732377a35a3956d0
Benchmark source code: https://gist.github.com/rueian/8c18e905aa6b543d2b2dac8f975f2bef

Leave a Comment