Y
Hacker News
new
|
ask
|
show
|
jobs
by
burnthrow
1972 days ago
Go's Memory Model documentation specifically recommends modeling a counting semaphore with a buffered channel.
https://golang.org/ref/mem#tmp_7