ParentFull threadburnthrow·Go's Memory Model documentation specifically recommends modeling a counting semaphore with a buffered channel.https://golang.org/ref/mem#tmp_7View on HN