The tossing WaitGroup
Original link: https://colobu.com/2022/08/30/waitgroup-to-love-to-toss/ WaitGroup is a concurrency primitive that is often used in Go concurrent programming for task scheduling. It looks like it has only a few simple methods and is relatively simple to use. In fact, the internal implementation of WaitGroup has also changed several times, mainly to optimize the atomic operation of its […]
The tossing WaitGroup Read More »