Files
deep_go/lessons/sync_primitives/wait_group_operations/main.go

17 lines
177 B
Go
Raw Normal View History

package main
import "sync"
func makeNegativeCounter() {
wg := sync.WaitGroup{}
wg.Add(-10)
}
func waitZeroCounter() {
wg := sync.WaitGroup{}
wg.Wait()
}
func main() {
}